summaryrefslogtreecommitdiff
path: root/README.rst
blob: 8480e0b32a035af713c9b6e22119566a456407b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
=================================
Radio Helsinki Program Management
=================================

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

Running a web server
--------------------

In development you should run::

    (helsinki)$ python manage.py runserver