python-getting-started
python-getting-started copied to clipboard
Getting Started with Python on Heroku.
This implements a build compatible both locally (with `heroku local`) and remotely (with `heroku create`) Django-heroku is not used because of the psycopg dependency that crashes on my OSX system,...
Currently running Django migrations is a manual step in the tutorial. Instead, Release Phase should be used to run this: https://devcenter.heroku.com/articles/release-phase
Project, once deployed, is still in debug mode (django debug) which does not fit to django deployed application guideline (DEBUG=False). Maybe some _settings.py_ adaptation is needed to load this DEBUG...
It does not seem _.env_ file to be used in this project. Maybe a reference to _python-dotenv_ is missing with loading instructions at top of _settings.py_ ?
In the repo the default database engine is set to Sqlite3, while the tutorial uses Postgres: https://github.com/heroku/python-getting-started/blob/master/gettingstarted/settings.py#L80 https://devcenter.heroku.com/articles/getting-started-with-python#provision-a-database It would be helpful if the repo showed how to work with...