RadioParadiseDeploy » History » Revision 2
Revision 1 (Aurynn Shaw, 12/27/2006 11:35 AM) → Revision 2/4 (Aurynn Shaw, 12/27/2006 12:17 PM)
= Deployment Instructions = www.radioparadise.com == Preparing http://www.cmdalert.com == * symlink all Check the scripts into the containing directory, with a copy trunk of pggraph2 out of the config.ini SVN repository. * Verify the existence of the pggraph2 database, create local database pggraph_radioparadise, and all the functions and types have been created. install pl/pgsql. * Configure the INI file: * Local database, pggraph_radioparadise * SSH connection to radioparadise, likely using the cmd administrative account? * Authentication on their postgres server. postgres user, or cmd user? * Determine their pricing plan for pggraph statistics, and set shortest interval accordingly * Decide on a prefix - radio_paradise radio_paradise? * Run the installer. Prayer would not be averse at this point. Hope and pray. * Start up forward.py. It will read the connection info from the config file and initiate a tunnel to www.radioparadise.com * Edit bridge.py, to use the absolute path to your config file. * run bridge.py, verify that it actually works. * Add a cronjob for bridge.py, set to every 5 minutes, or so. == Apache == * Decide on where radioparadise will be able to view their statistics * Configure apache to expose the directory where pggraph2 is installed to the web, as a CGI directory. * Allow .py to execute via python * Mark pggraph_index.py, pggraph_database.py, and pggraph_table.py as +x