Tutorial 7: Installing Pinax – Installing Pinax (Part 1)

Tutorial used:

http://www.paolocorti.net/2009/10/10/the-pinax-tutorial-1-installing-pinax-and-making-basic-customisation/ & http://pinax.readthedocs.org/en/latest/gettingstarted.html#installation

Purpose of Tutorial: installing django and pinax using virtualenv
– 2nd tutorial (official pinax doc) used to create & activate virtualenv
– 1st tutorial (paolocorti.net) partially used (with some personal edits) to install django 1.4.3, ipython, pinax 0.9a2,

What I Learnt:
Concept 1: create a virtualenv for your site (virtualenv name-env + source name-env/bin/activate) – hint* use ‘pinax-env’
Screen Shot 2013-01-06 at 9.39.13 PM Screen Shot 2013-01-06 at 9.39.31 PM Screen Shot 2013-01-06 at 9.40.07 PM

This creates a folder firstsite-env:
— bin
——> activate
——> easy_install-2.7
——> pip-2.7
——> python2.7
— include
——> python2.7
— lib
——> python2.7

virtualenv will use the python you have on your system, in my case:
python 2.7.1 (not the python 2.7.3 i installed earlier)
we still need to install into this virtualenv
django 1.4.3 (easy_install https://www.djangoproject.com/download/1.4.3/tarball/)
Screen Shot 2013-01-06 at 10.13.11 PM
ipython 0.13.1-py2.7 (easy_install ipython)
Screen Shot 2013-01-06 at 10.17.53 PM

Concept 2: use ‘pip’ to install Pinax (pip install Pinax)
Screen Shot 2013-01-06 at 9.46.02 PM

Concept 3: Check that you got django and pinax installed in your virtual env using ipython
Screen Shot 2013-01-06 at 10.23.12 PM

Concept 4: Pinax has different project bases
Screen Shot 2013-01-06 at 9.48.15 PM

Advertisements
This entry was posted in Tutorials. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s