- python >= 2.5
- pip
- virtualenv
- A database
First, clone the code from Git and cd
into the directory.
Create a virtual Python environment for the project.
$ virtualenv --no-site-packages --distribute env
$ source env/bin/activate
Install all the packages you'll need for the site.
$ pip install -r requirements.txt
Edit the local settings file for your environment. (This file will not be checked in to the git repository.)
$ cp lug_site/__local_settings.py lug_site/local_settings.py
$ $EDITOR lug_site/local_settings.py
Create all the database tables etcetera.
$ python manage.py syncdb
Now, to actually see the site:
$ python manage.py runserver
Open http://localhost:8000/ in your browser. Congratulations! You have a LUG Website!