Project

General

Profile

MyyearbookDeploy » History » Version 1

Aurynn Shaw, 01/02/2007 01:12 PM

1 1 Aurynn Shaw
= Deployment Instructions =
2
3
PG Server: 216.139.233.201
4
5
== System Changes ==
6
7
 * Added a crontab entry under the Admin account to collect statistics.
8
 * Running the forward.py script, hosted in the directory /var/www/pggraph/myyearbook/
9
 * Forwarded port is 7735
10
11
== pggraph local settings ==
12
 * Prefix used is myyearbook
13
 * uses the cmd authentication credentials
14
 * 
15
16
17
== Preparing http://www.cmdalert.com ==
18
19
 * symlink all the scripts into the containing directory, with a copy of the config.ini
20
 * Verify the existence of the pggraph2 database, and all the functions and types have been created.
21
 * Configure the INI file:
22
   * Local database, pggraph_radioparadise
23
   * SSH connection to radioparadise, likely using the cmd administrative account?
24
   * Authentication on their postgres server. postgres user, or cmd user?
25
   * Determine their pricing plan for pggraph statistics, and set shortest interval accordingly
26
   * Decide on a prefix - radio_paradise
27
 * Run the installer. Prayer would not be averse at this point.
28
 * Start up forward.py. It will read the connection info from the config file and initiate a tunnel to www.radioparadise.com
29
 * Edit bridge.py, to use the absolute path to your config file.
30
 * run bridge.py, verify that it actually works.
31
 * Add a cronjob for bridge.py, set to every 5 minutes, or so.
32
33
== Apache ==
34
35
 * Decide on where radioparadise will be able to view their statistics
36
 * Configure apache to expose the directory where pggraph2 is installed to the web, as a CGI directory.
37
 * Allow .py to execute via python
38
 * Mark pggraph_index.py, pggraph_database.py, and pggraph_table.py as +x
39
 * Test them. Again, prayer is not unadvisable.