Merge branch 'master' of ~/mygpo-src
[mygpo.git] / INSTALL
blob1cbfe9a7ce81dc335a65878ede61515066874e0f
2                    Deployment instructions for my.gpodder.org
3                    ------------------------------------------
5 Dependencies:
7   * python (>= 2.5)
8   * python-django
9   * django-registration
10   * MySQL Server (>= 5.0)
11   * python-mysqldb
12   * lighttpd
13   * python-feedparser
15 1. Creating the database
17 In MySQL, do the following (the SUPER grant is needed for
18 triggers to work in MySQL 5.0):
20   CREATE DATABASE mygpo;
21   GRANT ALL ON mygpo.* TO mygpo@localhost WITH GRANT OPTION;
22   GRANT SUPER ON *.* TO MYGPO@localhost;
23   FLUSH PRIVILEGES;
26 2. Initialize the database
28 Run in the mygpo/ subdirectory (possibly after setting the
29 DB parameters in mygpo/settings.py):
31   python manage.py syncdb
33 When asked to create a superuser, say NO.
35 Now, run every SQL-Script in the install/ subdirectory, starting
36 with "create.sql" and working your way all the way through the
37 update scripts (these are split because we are doing incremental
38 schema updates on the production server).
41 3. Setup the web server using lighttpd
43 There is a mygpo.lighttpd.conf file shipped with the source. Please
44 customize it to your needs, and then include it from your lighttpd
45 main configuration file.
47 4. Restart lighttpd
49 On Debian:
51   /etc/init.d/lighttpd restart