Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Run app on heroku#2

Open
adborden wants to merge 23 commits into
masterfrom
feature/heroku
Open

Run app on heroku#2
adborden wants to merge 23 commits into
masterfrom
feature/heroku

Conversation

@adborden

Copy link
Copy Markdown
Member
  • Configuration for postgres
  • Use whitenoise for static files
  • Specify python 3.6.0
  • Run gunicorn for wsgi

@adborden

Copy link
Copy Markdown
Member Author

Fixed the conflicts. I also setup CD, so it would be nice if #7 was merged into this first.


DATABASES['default'] = dj_database_url.config()

SECRET_KEY = os.environ.get('SECRET_KEY', None)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some comments on this in the first PR that basically boil down to this: it must be set. The app won't start. So we don't really need to throw an exception because the app will throw one for us.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants