Django for Designers/Laptop setup/Windows virtualenv: Difference between revisions

no edit summary
imported>Paulproteus
imported>Paulproteus
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 22:
* [https://raw.github.com/pypa/virtualenv/master/virtualenv.py virtualenv.py]
 
and save it inside the ''pagesdjango-tofor-appsdesigners'' folder.
 
== Navigate to the pagesdjango-tofor-appsdesigners folder ==
 
Open a command prompt, and use the ''cd'' command to find the ''pagesdjango-tofor-appsdesigners'' folder.
 
You can use the ''dir'' command to list the folder. Run this command:
Line 38:
A virtualenv is a limited Python environment that permits you to install whatever Python code you like without impacting other Python programs.
 
First, we will have to create the virtualenv. In your command prompt, type: this command. The '''.''' at the end does matter, so be sure to type it!
 
<pre>
virtualenv env.
</pre>
 
Line 47:
 
<pre>
python virtualenv.py env.
</pre>
 
Line 59:
 
<pre>
env\Scripts\activate
</pre>
 
You should see your command prompt change to say ''envdjango-for-designers''; that is how you know you have it activated.
 
== Install the requirements ==
Anonymous user