mirror of https://github.com/pallets/flask.git
Use "." not "source" for shell sourcing.
Shell portability from mitsuhiko.
This commit is contained in:
parent
5e848176e5
commit
e070ede050
|
@ -73,7 +73,7 @@ folder within::
|
||||||
Now, whenever you want to work on a project, you only have to activate the
|
Now, whenever you want to work on a project, you only have to activate the
|
||||||
corresponding environment. On OS X and Linux, do the following::
|
corresponding environment. On OS X and Linux, do the following::
|
||||||
|
|
||||||
$ source venv/bin/activate
|
$ . venv/bin/activate
|
||||||
|
|
||||||
If you are a Windows user, the following command is for you::
|
If you are a Windows user, the following command is for you::
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ Get the git checkout in a new virtualenv and run in development mode::
|
||||||
$ virtualenv venv --distribute
|
$ virtualenv venv --distribute
|
||||||
New python executable in venv/bin/python
|
New python executable in venv/bin/python
|
||||||
Installing distribute............done.
|
Installing distribute............done.
|
||||||
$ source venv/bin/activate
|
$ . venv/bin/activate
|
||||||
$ python setup.py develop
|
$ python setup.py develop
|
||||||
...
|
...
|
||||||
Finished processing dependencies for Flask
|
Finished processing dependencies for Flask
|
||||||
|
@ -131,7 +131,7 @@ To just get the development version without git, do this instead::
|
||||||
$ mkdir flask
|
$ mkdir flask
|
||||||
$ cd flask
|
$ cd flask
|
||||||
$ virtualenv venv --distribute
|
$ virtualenv venv --distribute
|
||||||
$ source venv/bin/activate
|
$ . venv/bin/activate
|
||||||
New python executable in venv/bin/python
|
New python executable in venv/bin/python
|
||||||
Installing distribute............done.
|
Installing distribute............done.
|
||||||
$ pip install Flask==dev
|
$ pip install Flask==dev
|
||||||
|
|
Loading…
Reference in New Issue