mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Use a local virtualenv, not in the users homedir.
This commit is contained in:
parent
cbd214699d
commit
9a8082878a
|
@ -17,9 +17,8 @@ The tutorial is fairly in-depth, so you should probably get a cookie and a cup o
|
||||||
Before we do anything else we'll create a new virtual environment, using [virtualenv]. This will make sure our package configuration is kept 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 kept nicely isolated from any other projects we're working on.
|
||||||
|
|
||||||
:::bash
|
:::bash
|
||||||
mkdir ~/env
|
virtualenv env
|
||||||
virtualenv ~/env/tutorial
|
source env/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