Skip to content

Instantly share code, notes, and snippets.

@tuergeist
Last active September 11, 2018 06:00
Show Gist options
  • Save tuergeist/62b41e338aab402642b35c152da7dcf8 to your computer and use it in GitHub Desktop.
Save tuergeist/62b41e338aab402642b35c152da7dcf8 to your computer and use it in GitHub Desktop.
# 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