Shorter commands

Just less characters to knock into terminal ☺
This commit is contained in:
Roman Voropaev 2016-08-31 14:32:18 +03:00 committed by GitHub
parent 80bd3b9722
commit 59f8ae86ad

View File

@ -12,16 +12,15 @@ Create a new Django project named `tutorial`, then start a new app called `quick
# Create a virtualenv to isolate our package dependencies locally
virtualenv env
source env/bin/activate # On Windows use `env\Scripts\activate`
. env/bin/activate # On Windows use `env\Scripts\activate`
# Install Django and Django REST framework into the virtualenv
pip install django
pip install djangorestframework
pip install django djangorestframework
# Set up a new project with a single application
django-admin.py startproject tutorial . # Note the trailing '.' character
django-admin startproject tutorial . # Note the trailing '.' character
cd tutorial
django-admin.py startapp quickstart
./manage.py startapp quickstart
cd ..
Now sync your database for the first time: