2 Deployment instructions for my.gpodder.org
3 ------------------------------------------
10 * MySQL Server (>= 5.0)
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;
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.
51 /etc/init.d/lighttpd restart