Technical Reference

From DoctorWhen
Revision as of 17:19, 6 February 2012 by Onigame (talk | contribs) (testing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Website Administration

We have currently registered four domains:

The contents of these domains are being managed in a Subversion repository (here is a quick tutorial to get started).

The URL for the repository is:

 svn://emagino.net/doctorwhen

Anybody can read the contents of the repository, so don't share this with people outside of GC. However, only a few accounts have an ability to write to the repository, including whuang (Wei-Hwa), ubernaut (Ben), dgreenspan (David), andfurthermore (Dan), and wesley. "wesley" is a generic account and has the same password as access to this wiki. Use it if you really need to change something in a hurry, but if you anticipate actually doing substantial work, please ask Wei-Hwa to create an account for you (the password will be in plaintext, so don't use a secure one).

So, to checkout your own copy, go to any directory on any machine where you can run subversion, and run

 svn checkout svn://emagino.net/doctorwhen --username wesley

Make edits in your own place, and then use

 svn commit

to commit your changes.

The live servers will reload from the repository every hour. Wei-Hwa can change this or manually reload if necessary.

Swapping Domains

dw = doctorwhen.com
tw = trenchwood.com
pf = peachfrontier.com
im = imopa.info
ee = etherealendways.com
uc = "under construction" parking page

Before the Game:

  • dw -> tw, (teams don't know of the other sites so we don't worry that they'll see them)

During Act I and Act III

  • dw -> tw, pf -> uc, im -> uc, ee -> uc

During Act II

  • dw -> pf, tw -> uc, ee -> uc

During Denouement

  • dw -> ee, tw -> uc, pf -> uc, im -> uc

After the Game:

  • dw -> ee

Scripts that do this need to be run by Wei-Hwa on the server. Code is at: /home/whuang/dw-web-scripts.txt