1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-18 19:15:26 +00:00

Merge pull request #106 from qiisziilbash/minor-edits-django

Minor edits to the django start project steps
This commit is contained in:
Julien Le Coupanec 2019-12-10 21:43:50 +01:00 committed by GitHub
commit 21a99e7bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,11 +100,11 @@ django-admin version # display the current django version
# 1. $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py # 1. $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py
# 2. $ pip install django # 2. $ pip install virtualenv
# 3. $ pip install virtualenv # 3. $ mkdir django-projects
# 4. $ mkdir django-projects # 4. $ cd django-projects
# 5. $ cd django-projects # 5. $ virtualenv venv
# 6. $ virtualenv venv # 6. $ source venv/bin/activate
# 7. $ source venv/bin/activate # 7. $ pip install django
# 8. $ django-admin startproject myproject # 8. $ django-admin startproject myproject
# 9. $ python manage.py runserver # 9. $ python manage.py runserver