- All the linux distributions will have Python installed by default. The version can be verified using the
python
command.
-
Install pip and related packages
sudo apt-get install python-pip
-
Install virtualenvwrapper
sudo pip install virtualenvwrapper
-
Configure virtualenvwrapper by adding the following lines in the .bashrc(
vim ~/.bashrc
)export WORKON_HOME=$HOME/.virtualenvs source /usr/local/bin/virtualenvwrapper.sh
-
Enable it by executing
source ~/.bashrc
sudo apt-get install git
-
Create a new virtual environment using virtualenv.
mkvirtualenv pycon-dj-workshop
-
The environment directory would be created under User's home directory (
~/.virtualenvs
) -
It will automatically start the environment. If you have closed the command prompt and opened it, use the following command
workon pycon-dj-workshop
-
Create a separate directory for the workspace and navigate to it(Example:
~/ws
). -
Clone the repository from the github
git clone https://github.com/sivaa/pycon2014-django-workshop.git
-
Navigate to the repository (
cd pycon2014-django-workshop
) -
Install the requirements from requirements.txt file
pip install -r requirements.txt
-
Verify the installation of dependencies
pip freeze
- Install SQLite Browser using
sudo apt-get install sqliteman
- Install latest FireFox
- Your favorite text editor / IDE