mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-26 17:21:55 +00:00
59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>CUCC Expedition Handbook: Programmers manual</title>
|
|
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
|
</head>
|
|
<body>
|
|
<h2 id="tophead">CUCC Expedition Handbook - Online systems</h2>
|
|
<h1>Expo Data Maintenance - Creating a New Year</h1>
|
|
|
|
<h2><a id="manual">Creating a New Year in the Expo online systems</a></h2>
|
|
|
|
<ul>
|
|
|
|
<li>This page <i>is a checklist for programmers</i> who are configuring the systems for next year's expo .
|
|
</ul>
|
|
|
|
<h3>Adding a new year in the Expo online systems</h3>
|
|
|
|
<p>There is no script to do this (yet). In the list below everything in expofiles is done by directly overwriting what is on the server. Changes to expoweb and troggle must be done using the version control system as these are repositories.
|
|
<ul>
|
|
<li>Create a new folder e.g. /2020/ in each of
|
|
<ul>
|
|
<li>expoweb/years/
|
|
<li>expoweb/accounts/
|
|
<li>expofiles/videos/ - optional. We don't do this much.
|
|
<li>expofiles/writeups/
|
|
<li>expofiles/photos/
|
|
<li>expofiles/gpslogs/
|
|
<li>expofiles/surveyscans/
|
|
</ul>
|
|
<li>copy wallets.py from the previous year's folder in expofiles/surveyscans/ into the current year
|
|
<li>create 50 folders in the new surveyscans year folder e.g. in expofiles/surveyscans/2020/ of the form /2020#01/, /2020#02/ etc.
|
|
<li>edit /expoweb/index.htm - edit the title and make it link to e.g. expoweb/years/2020/
|
|
<li>edit expoweb/folk/folk.csv - see below
|
|
<li>edit troggle/templates/base.html - change the title and adda link to this year's expo
|
|
<li>create initial versions of the bierbook and the seshbook in expoweb/documents/bierbook (the final copies after expo will be scanned and put in e.g. expofiles/writeups/2020/ along with the scanned logbook).
|
|
<li>copy the contents of the previous year's expoweb/years/ folder, e.g. /2019/ to 2020/ and edit all the files therein. You should start with at least an index.html and a mission.html
|
|
</ul>
|
|
<p>Edit folk/folk.csv, adding the new year to the end of the header
|
|
line, a new column, with just a comma (blank
|
|
cell) for people who weren't there, a 1 for people who were there, and
|
|
a -1 for people who were there but didn't go caving. Add new lines for
|
|
new people, with the right number of columns.</p>
|
|
|
|
<p>This proces is tedious and error-prone and ripe for improvement.
|
|
Adding a list of people, from the bier book, and their aliases would be
|
|
a lot better, but some way to make sure that names match with previous
|
|
years would be
|
|
good.</p>
|
|
|
|
Return to the main <a href="../manual.html">online systems manual</a>.
|
|
|
|
<hr />
|
|
</body>
|
|
</html>
|
|
|