WelcomePage RecentChanges SpwWiki

MakingALocalCopyOfSpw

This page describes how to setup a working copy of SPW on your computer for the purposes of developing improvements to the code.

If you also need instruction on installing a webserver or other more general setup concerns, see RunningALocalCopyOfSPW and InstallationNotes.

Example: setting up in <code>/tmp</code>

:<pre> cd /tmp wget -O spw.tar 'http://purl.net/net/spw/spw.pl?action=download&path=\/spw\/spw.tar' tar -xovf spw.tar /tmp/spw/qsetup.pl </pre>

Step-by-step explanation

1. Download SPW. Each time action=maintain is run, SPW tars itself up and saves the .tar file as /spw/spw.tar. You can download it by using the "download" action:

http://purl.net/net/spw/spw.pl?action=download&path=\/spw\/spw.tar

2. Untar SPW: tar -xovf spw.tar

3. Run spw/qsetup.pl. This convenience script must be run either from the base installation directory or from the spw directory, which is directly underneath.

See QsetupScript for more info.

4. Remember that SPW currently does NOT work with mod_perl; under Apache, you may need to put an .htaccess file in the base installation directory or somewhere else with the line SetHandler cgi-script to turn off mod_perl.


CategoryDocumentation