An template for Django 1.11.
- Production-ready configuration for Static Files, Database Settings, Gunicorn, etc.
- Enhancements to Django's static file serving functionality via WhiteNoise.
- Using Python 2.7
To use this project, follow these steps:
-
Clone this project
-
Install requirements from requirements.txt:
$ pip install -r requirements.txt
$ psql
$ CREATEDB genechat;
$ CREATE ROLE user WITH LOGIN PASSWORD 'password';
$ GRANT ALL PRIVILEGES ON DATABASE genechat TO user;
$ ALTER USER user CREATEDB;
$ heroku login
$ heroku local web
$ heroku login
$ heroku
$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate