Last active
September 11, 2018 06:00
-
-
Save tuergeist/62b41e338aab402642b35c152da7dcf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create pipenv shell elsewere and install django | |
pipenv install django | |
# go to the directory where your project shall reside in | |
export PROJECT=myproject | |
django-admin.py startproject --template=https://github.com/heroku/heroku-django-template/archive/master.zip --name=Procfile $PROJECT | |
# leave the current shell | |
# create / open a new shell in the project dir | |
cd $PROJECT | |
pipenv shell | |
# if you see an error message about the python version. Set the Pipfile to the appropriate version. | |
# heroku supports 3.6 and 3.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment