source: trunk/npemap.org.uk/documents/deployment.txt @ 29

Last change on this file since 29 was 29, checked in by Dominic Hargreaves, 15 years ago

Docs for deploying our FastCGI code

File size: 583 bytes
Line 
1To deploy the submission script.
2
3Assuming apache2 installed:
4
5# apt-get install libgeo-postcode-perl libdbd-pg-perl libcgi-fast-perl libapache2-mod-fastcgi
6Copy submit.fcgi to a location that the web server will use as CGI (eg /usr/lib/cgi-bin)
7# a2enmod fastcgi
8# /etc/init.d/apache2 reload
9
10Done!
11
12TODO: in practice we will want to use some explict process manager stuff.
13Either FastCGIServer directives, or the external stuff (FastCgiExternalServer
14and some stuff to make the thing run) as this will make it easier to poke
15things when the code changes without reloading apache.
16
Note: See TracBrowser for help on using the repository browser.