Install basic tools
$ sudo pacman -S \
python-pip \
python-virtualenv \
python-virtualenvwrapper
Load virtualenvwrapper
$ source /usr/bin/virtualenvwrapper.sh
$ echo /usr/bin/virtualenvwrapper.sh >> ~/.bashrc
Create an env for a project called pao_na_chapa
$ mkvirtualenv pao_na_chapa -p /usr/bin/python2
Install Django
$ pip install Django==1.6
Create a Django project
(pao_na_chapa)$ django-admin startproject pao_na_chapa
(pao_na_chapa)$ cd pao_na_chapa
(pao_na_chapa)$ ./manage.py syncdb --noinput
(pao_na_chapa)$ ./manage.py runserver
At this point, https://127.0.0.1:8000 should be accessible in the browser
Activating the virtualenv
It should be executed for every new shell session
$ workon pao_na_chapa