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

Run app on heroku #2

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Run app on heroku #2

wants to merge 23 commits into from

Conversation

adborden
Copy link
Member

  • Configuration for postgres
  • Use whitenoise for static files
  • Specify python 3.6.0
  • Run gunicorn for wsgi

@adborden
Copy link
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)

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