diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-13 18:53:29 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-13 18:53:29 (GMT) |
commit | 103a909a999ecb8e2bce2cf84e4ec39968223a53 (patch) | |
tree | e219a86a6b468b736a47f21061916b114be54427 /README.rst | |
parent | ba41badf0171cd618034e4c9eb21893eaf1ccd90 (diff) |
getting real.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 46 |
1 files changed, 33 insertions, 13 deletions
@@ -1,19 +1,39 @@ +================================= Radio Helsinki Program Management ================================= -Requirements ------------- +Installation +============ + +To get setup you must have the following installed: + + * Python 2.6 + * virtualenv 1.5 + +Setting up the environment +-------------------------- + +Create a virtual environment where the dependencies will live:: + + $ virtualenv --no-site-packages helsinki + $ source helsinki/bin/activate + (helsinki)$ + +Install the project dependencies:: + + (helsinki)$ pip install -r requirements.txt + +Setting up the database +----------------------- + +By default the project is set up to run on a SQLite database. You can run:: + + (helsinki)$ python manage.py syncdb + (helsinki)$ python manage.py loaddata program/fixtures/*.yaml -- Django 1.2.5: http://pypi.python.org/pypi/Django/1.2.5 -- PIL: http://pypi.python.org/pypi/PIL/1.1.6 -- python-dateutil: http://pypi.python.org/pypi/python-dateutil/1.5 -- PyYAML: http://pypi.python.org/pypi/PyYAML/3.09 -- MySQL-python: http://pypi.python.org/pypi/MySQL-python/1.2.3 -- django-haystack: http://pypi.python.org/pypi/django-haystack/1.1.0 -- pysolr: http://pypi.python.org/pypi/pysolr/2.0.13 +Running a web server +-------------------- -Author ------- +In development you should run:: -Ernesto Rico-Schmidt -Contributions: Johannes Raggam + (helsinki)$ python manage.py runserver |