Site Migration
Moving the site from one directory to another or one machine to another requires a certain attention to detail. The site root sits in a designated /var/www directory. From that directory the site splays out as follows:
- html/ - resources
- user/ - user contributed content, symlink to archives/content/user_submitted, used by html editor
- bwa/ - barry grime's forum redirect, copy from old site
- webusage/ - current web usage compiled nightly by a cron job running on root. wants to write to '/var/www/www/webusage'. Copy over from the old site.
- webstats/ - old web usage compiled from BSD machine, copy over.
- resources/ - old directory to keep code seperate from static elements
- journal/ - old journals, symlink to /archives/journal
- repository/ - an old upload spot for staff, symlink to /archives/content/repository
- images/ - obvious
- abstract/ - abstract images, link to /archives/content/abstract
- contents/ - contents images, link to /archives/content/content
- contacts/ - contacts images, link to /archives/content/contact
- photos/ - used to hold the photo archive code, now just holds the photos
- archive/ - holds the photo archive, link to /archives/photo
- journal/ - used to hold the journal code, now just holds journal directories
- members/ - oddly named folder for pdfs link to /archives/journal/current/pdf
- preview/ - pictures of thumbnails and covers of the current journal link to /archives/journal/current/convers
- toolkit/ - before wiki, this was how stewardship transfered files/knowlege, used a bit to this day by the conacc sftp account, move to new site.
- wiki/ - dokuwiki, excellent wiki software, most of the static text in the site is now in wiki, checked into SVN
- data/ - data for dokuwiki, make sure the data is synched, it is checked into svn
- phorum5/ - phorum 5 software, used for forums, checked into svn, self maintaining
- cart/ - squirrel cart software, used for store, checked into svn
- sc_images/ - images of products, make sure this is up-to-date
- chattooga - special favor to link the chatooga issue to a URL, holds a PHP file that forwards to the wiki page. move over.
- cgi-bin/ - old-style cgi-bin executables, copy over from old directory/machine. Pray you don't have to reconfigure barry's disucss forums (refered to earlier)
- code/ - site code, config if required
The following is a list of known data to be checked to make sure it is working:
- products in the store
- staff/board bios up-to-date
- forum posts messages
- wiki doesn't complain of security
- security doesn't allow non-admins to edit stuff
- photos up-to-date
- users updating nightly
- gauges updating
- clubs not expired
Configuration indepenent of the Framework Occurs in:
- cart/squirlcart/config.php – used to configure admin functions
- wiki/config/security – some security editing