Project

General

Profile

DeploymentInstructions » History » Version 2

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

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