Created
October 26, 2017 20:33
-
-
Save calebcgates/2f55e51681392ad7a0501a759d6260eb to your computer and use it in GitHub Desktop.
This file contains 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
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