Using Your Dev InstanceIf you wish to do your own development on an SBEAMS module in parallel with other developers or a production instance, your SBEAMS Administrator can assign you a "dev instance". This is a separate copy of all the SBEAMS code that may or may not point to the production databases. You can work on this code without fear of affecting other users. When it is debugged and ready, it can be checked into CVS and rolled out to the production instance. You will typically been assigned a DevXX area where XX are your first and last initials or a devN number like dev4 as your SBEAMS development instance. Assuming dev4, here's how to use your instance. Once the administrator has created the your dev4 instance, you can check out your code and later resync your code tree with: setenv CVSROOT /net/db/cvsroot cd /net/dblocal/www/html/dev4 cvs checkout -P sbeams If the module you are working on is MODULE, you will find important files in: /net/dblocal/www/html/dev4/sbeams/cgi/MODULE/ /net/dblocal/www/html/dev4/sbeams/doc/MODULE/ /net/dblocal/www/html/dev4/sbeams/lib/conf/MODULE/ /net/dblocal/www/html/dev4/sbeams/lib/perl/SBEAMS/MODULE/ /net/dblocal/www/html/dev4/sbeams/lib/scripts/MODULE/ /net/dblocal/www/html/dev4/sbeams/lib/sql/MODULE/ You can access your site from the web at: http://db.systemsbiology.net/dev4/sbeams/ which mirrors the normal production code at: http://db.systemsbiology.net/sbeams/ Once you have edited and debugged your code in your dev instance, check in the new code in the current directory (and below) into CVS with: cvs commit filename.ext (just one file) cvs commit (all files in this and subdirectories) Add new files with: cvs add newfilename.ext cvs commit newfilename.ext The cgi/MODULE directory contains the actual web programs that the user executes. The lib/perl/SBEAMS/MODULE directory contains perl modules that contain: HTMLPrinter - Methods that controls the HTML style and interface Tables - Definition of table names DBInterface - Methods for the database interface Settings - Module specific settings TableInfo - Some special definitions for how tables can be edited Other files of relevance:
|