Created
January 11, 2020 11:04
-
-
Save nashmaniac/1f165b96b5257285f1b329173716da6c to your computer and use it in GitHub Desktop.
django-project-intialize-commands
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
➜ ~ 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