Skip to content

Instantly share code, notes, and snippets.

@calebcgates
Created October 26, 2017 20:33
Show Gist options
  • Save calebcgates/2f55e51681392ad7a0501a759d6260eb to your computer and use it in GitHub Desktop.
Save calebcgates/2f55e51681392ad7a0501a759d6260eb to your computer and use it in GitHub Desktop.
cd py_environments/[project name]
source bin/activate
//Activates the virual environment
cd src
//once pip install everything you want in your virual environment save to requirments.txt
pip freeze > requirements.txt
// if you change a model
src$ python manage.py makemigrations
src$ python manage.py migrate
// starting your web app.
src$ python manage.py runserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment