Skip to content

Instantly share code, notes, and snippets.

@cyberfly
Last active April 25, 2020 13:38
Show Gist options
  • Save cyberfly/eb3d613bca8a6ae6396881bfd3e88505 to your computer and use it in GitHub Desktop.
Save cyberfly/eb3d613bca8a6ae6396881bfd3e88505 to your computer and use it in GitHub Desktop.
cd pythondev
# create env
python3 -m venv env1
# activate env
source env1/bin/activate
# serve
python manage.py runserver
# check python location
which python
# install django
pip3 install django
pip install --upgrade pip
cd projectname
poetry run python manage.py
pip install django-extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment