sanitizing removes all URLs for domain gpodder.org
[mygpo.git] / INSTALL
blob8749c01c4e932b44d4dfb162471d96299e10e4d0
2                    Deployment instructions for my.gpodder.org
3                    ------------------------------------------
5 Dependencies:
7   * python (>= 2.5)
8   * python-django (>= 1.0)
9   * python-django-registration (>= 0.7)
10   * MySQL Server (>= 5.0)
11   * python-mysqldb
12   * lighttpd
13   * python-feedparser
14   * python-dateutil
15   * python-json or python-simplejson
16   * django-haystack
17   * woosh
19 1. Creating the database
21 In MySQL, do the following (the SUPER grant is needed for
22 triggers to work in MySQL 5.0):
24   CREATE DATABASE mygpo;
25   GRANT ALL ON mygpo.* TO mygpo@localhost WITH GRANT OPTION;
26   GRANT SUPER ON *.* TO MYGPO@localhost;
27   FLUSH PRIVILEGES;
30 2. Initialize the database
32 Run in the mygpo/ subdirectory (possibly after setting the
33 DB parameters in mygpo/settings.py):
35   python manage.py syncdb
37 When asked to create a superuser, you can say YES.
39 Now, run every SQL-Script in the install/ subdirectory, starting
40 with "create.sql" and working your way all the way through the
41 update scripts (these are split because we are doing incremental
42 schema updates on the production server).
45 3. Setup the web server using lighttpd
47 There is a mygpo.lighttpd.conf file shipped with the source. Please
48 customize it to your needs, and then include it from your lighttpd
49 main configuration file.
51 4. Restart lighttpd
53 On Debian:
55   /etc/init.d/lighttpd restart