Using private development sites

From WormBaseWiki
Revision as of 18:42, 17 August 2010 by Cgrove (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Although we maintain a primary checked out version of the source on wb-dev, it's confusing and dangerous to have multiple people editing the same checked out source. Testing of new libraries may also intermittently interrupt others work.

Private development environments help to avoid these conflicts. But with a site like WormBase that has large memory and hard disk requirements, maintaining a separate environment can be cumbersome. To alleviate these conflicts, I've established private development sites for everyone.

(If you are interested to see how I've done this, please see:


I've chosen the following arbitrary ports. Please let me know if there are conflicts:


Note that these URLs are only valid from within the firewall. The following command will log you in to web-dev via ssh and tunnel to your port so that you can access it outside the firewall:

ssh -t -l [username] -L [yourport]:localhost:[yourport]

You should now be able to browse your site at


Using the "development" site

These private sites change the nature of the main development site at (/usr/local/wormbase/website-classic) into a preview site.

1. Development and initial testing occurs within the private sites

2. Once complete, cvs commit changes

3. Check out your changes on main development site (wb-dev:/usr/local/wormbase/website-classic) for community testing

Important notes

1. All sites are checked out source from the CVS repository. You can commit changes as normal.

2. Please note that some files (, httpd.conf, perl.startup) require some modification to paths to get these sites to work. DO NOT CHECK IN CHANGES TO THESE FILES - they will break the live and development sites.

3. All sites use the same Acedb and GFF databases. *Please* contact me before tinkering with them as these are truly the staging databases used for updating the live site.

4. 3rd party support libraries are found in /usr/local/wormbase/website-classic/extlib

5. All logging occurs within your private directory in logs/