Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project structure is added & "start project" steps edited #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 34 additions & 8 deletions backend/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,38 @@
# *****************************************************************************


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


# *****************************************************************************
# Project Structure in django (From "two scoops of django" book)
# *****************************************************************************


my-project/
.gitignore
docs/
Readme
venv/
requirements.txt
project/
manage.py
app1/
templates/
app1/
static/
app1/
app2/
...
static/
templates/
media/
db