Skip to content

Commit

Permalink
Deploy (#58)
Browse files Browse the repository at this point in the history
* Add key syntax to address deploy script error

* Correct typo in settings.py for key
  • Loading branch information
mbjacobs committed Oct 20, 2020
1 parent 4a5687c commit 545abe0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
@@ -0,0 +1 @@
export SECRET_KEY=D4GTestKey123
1 change: 1 addition & 0 deletions d4g/settings.py
Expand Up @@ -15,6 +15,7 @@
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

SECRET_KEY = os.getenv("SECRET_KEY")

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -23,3 +23,4 @@ s3transfer==0.3.3
six==1.13.0
sqlparse==0.3.1
urllib3==1.25.7
python-dotenv

0 comments on commit 545abe0

Please sign in to comment.