mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-29 01:43:16 +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.
|
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
|
mkdir ~/env
|
||||||
virtualenv --no-site-packages ~/env/djangorestframework
|
virtualenv --no-site-packages ~/env/tutorial
|
||||||
source ~/env/djangorestframework/bin/activate
|
source ~/env/tutorial/bin/activate
|
||||||
|
|
||||||
Now that we're inside a virtualenv environment, we can install our package requirements.
|
Now that we're inside a virtualenv environment, we can install our package requirements.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user