2 Deployment instructions for my.gpodder.org
3 ------------------------------------------
8 * python-django (>= 1.0)
9 * python-django-registration (>= 0.7)
10 * MySQL Server (>= 5.0)
15 * python-json or python-simplejson
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;
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.
55 /etc/init.d/lighttpd restart