mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-12-04 23:52:23 +00:00
60 lines
2.3 KiB
HTML
60 lines
2.3 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||
|
<title>CUCC Expedition Handbook: Bank of Expo</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../css/main2.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<h2 id="tophead">CUCC Expedition Handbook</h2>
|
||
|
<h1>The Bank of Expo</h1>
|
||
|
<p>If you don't know what this is for, see <a href="bankofexpo.html">Bank of Expo</a>.
|
||
|
<h2>Configure BOE for a new Expo</h2>
|
||
|
|
||
|
<p>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.
|
||
|
|
||
|
<p>In /home/expo/boe create a new folder for the data , e.g. for 2029:
|
||
|
<ul>
|
||
|
<li>/home/expo/boe/data/boe29
|
||
|
</ul>
|
||
|
and a new folder to hold last-year's code:
|
||
|
<ul>
|
||
|
<li>/home/expo/boe/boc-<b>2028</b>
|
||
|
</ul>
|
||
|
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:
|
||
|
<pre>
|
||
|
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
|
||
|
</pre>
|
||
|
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/<b>users</b>/ 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
|
||
|
<pre>
|
||
|
IsAdmin
|
||
|
</pre>
|
||
|
<p>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):
|
||
|
<pre>
|
||
|
perl -e "use Crypt::PasswdMD5;print unix_md5_crypt('password','salt');"
|
||
|
</pre>
|
||
|
and put it in data/boe29/users/yourname and
|
||
|
git commit any changes.
|
||
|
<p>
|
||
|
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.
|
||
|
|
||
|
|
||
|
<p>Now read the <a href="boc.pdf">the documentation</a> (PDF) (for the version running on the expo server).</p>
|
||
|
|
||
|
|
||
|
|
||
|
<hr />
|
||
|
Go back to <a href="treasurer.html">Expo Treasurer Role</a><br>
|
||
|
Go on to <a href="bierbook.html">The Bier and Sesh books</a>
|
||
|
<hr /></body>
|
||
|
</html>
|