DeploymentInstructions » History » Version 1
Aurynn Shaw, 01/02/2007 01:28 PM
1 | 1 | Aurynn Shaw | = Deployment Instructions = |
---|---|---|---|
2 | |||
3 | == Preparing pggraph for installation == |
||
4 | |||
5 | * symlink all the scripts into the containing directory |
||
6 | * copy config.ini and ssh.ini into the containing directory |
||
7 | * Verify the existence of the pggraph database, and all the functions and types have been created. |
||
8 | * Configure the INI file: |
||
9 | * Local database, pggraph |
||
10 | * SSH connection to the remote server |
||
11 | * Authentication on their postgres server. postgres user credentials |
||
12 | * Determine their pricing plan for pggraph statistics, and set shortest interval accordingly. Should match the cron length. |
||
13 | * Decide on a prefix |
||
14 | * Run the installer. |
||
15 | * Start up forward.py. It will read the connection info from the ssh.ini file and initiate a tunnel to the remote server. |
||
16 | * run bridge.py, verify that it can correctly pull data over the bridge. |
||
17 | * Add a cronjob for bridge.py, with the single argument of the filesystem location of the config file it is to use. |
||
18 | |||
19 | == Apache == |
||
20 | |||
21 | * Decide on where pggraph will live on the filesystem |
||
22 | * Configure apache to expose the directory where pggraph2 is installed to the web, as a CGI directory. |
||
23 | * Allow .py to execute via python |
||
24 | * Mark pggraph_index.py, pggraph_database.py, and pggraph_table.py as +x |
||
25 | * verify correct operation |