Skip to content

Instantly share code, notes, and snippets.

View demukeshchouhan's full-sized avatar
👽

Mukesh Chauhan demukeshchouhan

👽
  • India
View GitHub Profile
@demukeshchouhan
demukeshchouhan / deploydjango
Created September 12, 2017 14:02
How to Deploy Django Application on Heroku !
# Deploy Django App to Heroku
```sh
pip install dj-database-url gunicorn whitenoise
```
```
sh pip freeze > requirements.txt
```
+ add `psycopg2==2.6.2` at the end in `requirements.txt`)
+ Create Procfile file for Heroku and add: