Last active
April 8, 2019 20:30
-
-
Save MahmudHasanCSE/65ebc32330e5b9dd2744e13f4ad2074a 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
## Python: | |
# create venv | |
python -m venv venv | |
# python -m virtualenv . | |
# activate venv | |
source venv/bin/activate | |
# deactivate venv | |
deactivate | |
## Django: | |
# running local | |
./manage.py runserver | |
# running test | |
./manage.py test | |
# running test with warning enabled | |
python -Wa manage.py test | |
# | |
./manage.py test --verbosity=2 | |
# | |
./manage.py makemigrations | |
# | |
./manage.py migrate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment