mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Neater virtualenv in tutorial
This commit is contained in:
parent
a25b4be441
commit
d180e984e9
|
@ -9,8 +9,8 @@ This tutorial will walk you through the building blocks that make up REST framew
|
|||
Before we do anything else we'll create a new virtual environment, using [virtualenv]. This will make sure our package configuration is keep nicely isolated from any other projects we're working on.
|
||||
|
||||
mkdir ~/env
|
||||
virtualenv --no-site-packages ~/env/djangorestframework
|
||||
source ~/env/djangorestframework/bin/activate
|
||||
virtualenv --no-site-packages ~/env/tutorial
|
||||
source ~/env/tutorial/bin/activate
|
||||
|
||||
Now that we're inside a virtualenv environment, we can install our package requirements.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user