|
|
@ -68,7 +68,7 @@ folder within:: |
|
|
|
$ cd myproject |
|
|
|
$ cd myproject |
|
|
|
$ virtualenv venv |
|
|
|
$ virtualenv venv |
|
|
|
New python executable in venv/bin/python |
|
|
|
New python executable in venv/bin/python |
|
|
|
Installing setuptools............done. |
|
|
|
Installing distribute............done. |
|
|
|
|
|
|
|
|
|
|
|
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:: |
|
|
@ -99,7 +99,7 @@ This is possible as well, though I do not recommend it. Just run |
|
|
|
$ sudo pip install Flask |
|
|
|
$ sudo pip install Flask |
|
|
|
|
|
|
|
|
|
|
|
(On Windows systems, run it in a command-prompt window with administrator |
|
|
|
(On Windows systems, run it in a command-prompt window with administrator |
|
|
|
privleges, and leave out `sudo`.) |
|
|
|
privileges, and leave out `sudo`.) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Living on the Edge |
|
|
|
Living on the Edge |
|
|
@ -115,9 +115,9 @@ Get the git checkout in a new virtualenv and run in development mode:: |
|
|
|
Initialized empty Git repository in ~/dev/flask/.git/ |
|
|
|
Initialized empty Git repository in ~/dev/flask/.git/ |
|
|
|
$ cd flask |
|
|
|
$ cd flask |
|
|
|
$ virtualenv venv --distribute |
|
|
|
$ virtualenv venv --distribute |
|
|
|
New python executable in env/bin/python |
|
|
|
New python executable in venv/bin/python |
|
|
|
Installing setuptools............done. |
|
|
|
Installing distribute............done. |
|
|
|
$ source env/bin/activate |
|
|
|
$ source venv/bin/activate |
|
|
|
$ python setup.py develop |
|
|
|
$ python setup.py develop |
|
|
|
... |
|
|
|
... |
|
|
|
Finished processing dependencies for Flask |
|
|
|
Finished processing dependencies for Flask |
|
|
|