Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. heroku login
- 2. git init (add,commit)
- 3. heroku create appname
- 4. heroku git:remote -a appname
- 5. pip install gunicorn
- 6. touch PROCFILE
- 7. web: gunicorn appname.wsgi (inside Procfile)
- 8. pip freeze > requirements.txt
- 9. git push heroku master
- ---Static--
- # STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') (inside settings.py)
- #whitenoise
- # Allowe host setting
- #migrate/commit/push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement