Django for Designers/Laptop setup/Linux virtualenv

From OpenHatch wiki
< Django for Designers‎ | Laptop setup
Revision as of 05:24, 24 February 2013 by imported>Paulproteus

Test if you have the required tools

In this step, we test if you have the virtualenv tool.

Take this moment to open up a command prompt. Enter the command:

virtualenv --help

You should see a help message that looks something like this:

Usage: virtualenv [OPTIONS] DEST_DIR

Options:
  --version             show program's version number and exit

If you don't see that friendly message, download virtualenv.py from here:

and save it inside the pages-to-apps folder.

Also, if you use Ubuntu or Debian, run the following command:

sudo apt-get install python-dev

It installs development-related tools that virtualenv relies on.