git push heroku master
Use a Procfile, a text file in the root directory of your application, to explicitly declare what command should be executed to start your app.
e.g. web: gunicorn gettingstarted.wsgi --log-file -
the name web is important here. It declares that this process type will be attached to the HTTP routing stack of Heroku, and receive web traffic when deployed.
clock: python clock.py
heroku ps:scale clock=1
heroku run python manage.py shell
heroku logs
heroku run bash
foreman start web
$ heroku open
- Django dj-database-url dj-static django-toolbelt gunicorn psycopg2 static3