CUCC Expedition Handbook

The Bank of Expo

If you don't know what this is for, see Bank of Expo.

Configure BOE for a new Expo

You need to have a terminal running logged in to the server using ssh to do all this. Most expo treasurers will need to get a nerd to do this for them. Any Linux nerd, even if unfamiliar with boe, should be able to do all this if they have ssh access.

In /home/expo/boe create a new folder for the data , e.g. for 2029:

and a new folder to hold last-year's code: Copy everything from /home/expo/boe/boc/ into /home/expo/boe/boc-2028/ and then edit the first line of the file /home/expo/boe/boc/boc_config to read:
Root	/home/expo/boe/data/boe29
TemplateDir	resources
#StyleURL /boe/boc/resources/bocstyle.css
#StyleURL /boe/boc/boc.pl?serve=bocstyle
#TimeoutURL /boe/boc/resources/timeout.js
Now the code is in the place that the webserver expects it, and the code is configured to point to the new data for 2029. Now copy everything in the most recent year from, e.g. /home/expo/boe/boc-2028/ into /home/expo/boe/boc-2029/ . Then go into the folder /home/expo/boe/data/boe29/users/ and delete the files for all the users except for you and wookey. (Assuming you were on expo in the previous year). Edit your file to have the line
IsAdmin

Now if you didn't create a password for last year's expo, create a password like this (Wookey will tell you what the 'salt' is):

perl -e "use Crypt::PasswdMD5;print unix_md5_crypt('password','salt');"
and put it in data/boe29/users/yourname and git commit any changes.

From this point on all the configuration you do with be directly with the online BoE running on the server. Log in and check it all works.

Now read the the documentation (PDF) (for the version running on the expo server).


Go back to Expo Treasurer Role
Go on to The Bier and Sesh books