Skip to content
Myr

vent and no more .

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4a75198 · Browse files · 1 file+5 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−9 removed

  • other:+5 added−9 removed

1 file+5 added−9 removed

modified:docs/installation.rst+5 added-9 removed
64 unmodified lines
65folder within::6667 $ mkdir myproject68 $ cd myproject69 $ virtualenv env70 New python executable in env/bin/python69 $ virtualenv venv70 New python executable in venv/bin/python71 Installing setuptools............done.7273Now, whenever you want to work on a project, you only have to activate the74corresponding environment. On OS X and Linux, do the following::7576 $ . env/bin/activate76 $ source venv/bin/activate7778(Note the space between the dot and the script name. The dot means that this79script should run in the context of the current shell. If this command does80not work in your shell, try replacing the dot with ``source``.)8178If you are a Windows user, the following command is for you::7984 $ env\scripts\activate80 $ venv\scripts\activate8182Either way, you should now be using your virtualenv (notice how the prompt of83your shell has changed to show the active environment).8485Now you can just enter the following command to get Flask activated in your86virtualenv::8792 $ easy_install Flask88 $ pip install Flask8990A few seconds later and you are good to go.9192
82 unmodified lines