2019-12-29 00:36:42 +00:00
<!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 >
2021-04-29 13:00:37 +01:00
< style > body { background : #fff url ( /images/style/bg-system.png ) repeat-x 0 0 } < / style >
2019-12-29 00:36:42 +00:00
< h2 id = "tophead" > CUCC Expedition Handbook - Online systems< / h2 >
2021-04-29 13:00:37 +01:00
< h1 > New Expo Maintenance - Creating a New Year< / h1 >
2019-12-29 00:36:42 +00:00
< 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 >
2021-02-05 20:08:22 +00:00
< 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 < var > :expoweb:< / var > and < var > :troggle:< / var > must be done using the version control
system as these are < a href = "../computing/repos.html" > repositories< / a > .
2022-02-24 12:29:51 +00:00
< p > [Many website pages generated by troggle will fail for the new year you are creating until you do the folk-update process
to create a new year column (see below). ]
2021-02-05 13:07:47 +00:00
< h4 > Well before Expo as these pages are used in planning< / h4 >
2019-12-29 00:36:42 +00:00
< ul >
2022-02-22 00:58:09 +00:00
< li > Create a new < var > expoweb< / var > website folder e.g. /2022/ in
2019-12-29 00:36:42 +00:00
< ul >
< li > expoweb/years/
2021-02-05 13:07:47 +00:00
< / ul >
2022-02-22 00:58:09 +00:00
< li > edit < var > expoweb/index.htm< / var > - edit the title and make it link to e.g. < var > expoweb/years/2022/< / var >
2021-02-05 20:08:22 +00:00
< li > edit < var > troggle/templates/base.html< / var > - change the title and add a link to this year's expo
< li > copy the contents of the previous year's < var > expoweb/years/< / var > folder, e.g. /2016/ to /2017/ and edit all the files therein. You should start with at least an index.html and a mission.html
2022-02-24 12:29:51 +00:00
< li > edit < var > expoweb/folk/folk.csv< / var > - see below - just to add a column for the coming year. Until that year column exists, the online system will be unaware that there is an expedition that year.
2021-02-05 13:07:47 +00:00
< / ul >
< h4 > Whenever you like before Expo< / h4 >
< ul >
2022-02-22 00:58:09 +00:00
< li > Create new subfolders e.g. /2022/ in < var > expofiles/< / var > , in each of
2021-02-05 20:08:22 +00:00
< ul >
< li > expofiles/writeups/
< li > expofiles/photos/
< li > expofiles/gpslogs/
< li > expofiles/surveyscans/
< li > expofiles/accounts/ - optional. Used for archiving after expo.
< li > expofiles/videos/ - optional. We don't do this much.
< / ul >
< li > copy < var > wallets.py< / var > from the previous year's folder in < var > expofiles/surveyscans/< / var > into the current year
2022-02-22 00:58:09 +00:00
< li > create 50 folders in the new surveyscans year folder e.g. in < var > expofiles/surveyscans/2022/< / var > of the form /2022#01/, /2022#02/ etc.
2021-02-05 20:08:22 +00:00
< li > Test that the bierbook and seshbook LaTeX scripts < var > expoweb/documents/bierbook< / var > work on your machine< / li >
2019-12-29 00:36:42 +00:00
< / ul >
2021-02-05 13:07:47 +00:00
< h4 > A week or so before Expo< / h4 >
< ul >
2021-02-05 20:08:22 +00:00
< li > create initial versions of the bierbook and the seshbook in < var > expoweb/documents/bierbook< / var >
(the final copies after expo will be scanned and put in
2022-02-22 00:58:09 +00:00
e.g. < var > expofiles/writeups/2022/< / var > along with the scanned logbook). These need an updated < var > names.txt< var > file of expoers.
2021-02-05 20:08:22 +00:00
< li > update the gear tape colours for the expected expoers in < a href = "../geartape.html" > < var > /expoweb/handbook/geartape.html< / a > < / li >
< li > edit < var > expoweb/folk/folk.csv< / var > - see below - to add people. Until a name is recorded in the Folk file that person will not be recognised within the online system as a cave surveyor or logbook entry writer.
< li > Create the Bank of Expo < a href = "../bankofexpo.html" > < var > boe< / var > < / a > for the expected attendees.
This is done directly in an < var > ssh< / var > terminal session on the server.
2021-02-05 13:07:47 +00:00
2019-12-29 00:36:42 +00:00
< / ul >
2021-02-05 20:08:22 +00:00
< p > Edit < var > expoweb/folk/folk.csv< / var > according to the instructions in the < a href = "folkupdate.html" > Folk Update process< / a > .
2020-02-21 00:23:59 +00:00
< / p >
2019-12-29 00:36:42 +00:00
2020-04-09 19:13:18 +01:00
Return to the main < a href = "manual.html" > online systems manual< / a > .
2019-12-29 00:36:42 +00:00
2021-04-29 13:00:37 +01:00
< hr / > < / body >
2019-12-29 00:36:42 +00:00
< / html >