Difference between revisions of "Academy"
From Jon's Wiki
Line 17: | Line 17: | ||
git clone <nowiki>https://github.com/stephenmcd/mezzanine.git</nowiki> | git clone <nowiki>https://github.com/stephenmcd/mezzanine.git</nowiki> | ||
+ | |||
+ | You should have a directory structure something like: | ||
+ | |||
+ | ~ | ||
+ | | | ||
+ | |__ mezzanine-env - the Python virtual environment | ||
+ | | | ||
+ | |__ mezzanine - the Mezzanine application (cloned from github) |
Revision as of 22:53, 14 January 2013
Hizees! We're going to hack on Mezzanine, a Django Content Management System (CMS).
Install Mezzanine
Firstly, install and start a Python virtual environment:
sudo apt-get install python-virtualenv virtualenv mezzanine-env cd mezzanine-env source bin/activate
You should now be in a Python virtual environment. This will isolate your Python libraries from the system's ones in case stuff breaks. Now install some dependencies:
sudo apt-get install python-pip python-imaging pyflakes pep8 python-tz
Then grab it from github:
git clone https://github.com/stephenmcd/mezzanine.git
You should have a directory structure something like:
~ | |__ mezzanine-env - the Python virtual environment | |__ mezzanine - the Mezzanine application (cloned from github)