Skip to content

Instantly share code, notes, and snippets.

@nashmaniac
Created January 11, 2020 11:04
Show Gist options
  • Save nashmaniac/1f165b96b5257285f1b329173716da6c to your computer and use it in GitHub Desktop.
Save nashmaniac/1f165b96b5257285f1b329173716da6c to your computer and use it in GitHub Desktop.
django-project-intialize-commands
➜ ~ mkdir docker_demo
➜ ~ cd docker_demo
➜ docker_demo virtualenv venv -p /usr/bin/python3
➜ docker_demo source venv/bin/activate
(venv) ➜ docker_demo pip install django gunicorn
(venv) ➜ docker_demo django-admin startproject .
(venv) ➜ docker_demo django-admin startproject docker_demo .
(venv) ➜ docker_demo pip freeze > requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment