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

no edit summary
imported>Paulproteus
No edit summary
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.
 
Also, if you use Ubuntu or Debian, run the following command:
Line 29:
 
It installs development-related tools that virtualenv relies on.
== 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 ''ls'' command to list the folder. Run this command:
Line 43:
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 52:
 
<pre>
python virtualenv.py env.
</pre>
 
Line 64:
 
<pre>
source env/bin/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