-- restructuredtext --


Development Environment Setup

Clone project and bootstrap virtual environment:

~$ hg clone ssh://hg@bitbucket.org/copelco/copelco
~$ cd copelco
~/copelco$ mkvirtualenv --distribute copelco
~/copelco$ ./bootstrap.py

Create local_settings.py file, syncdb, and runserver:

~/copelco$ cd copelco
~/copelco/copelco$ cp local_settings.py.example local_settings.py
~/copelco/copelco$ ./manage.py syncdb
~/copelco/copelco$ ./manage.py runserver

Visit http://localhost:8000/ in your browser.

Production Environment Setup

Ubuntu packages:

aptitude install memcached python-setuptools rsync screen git-core bzr mercurial subversion python-imaging build-essential python-dev postfix nginx byobu postgresql python-psycopg2 python-gevent

Python packages:

easy_install -U pip
pip install -U distribute virtualenv