mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
Handbook updates
This commit is contained in:
@@ -25,18 +25,8 @@ The split mechanism transparently underlies everything, but for user-friendlines
|
||||
<p>Source and docs for the upstream version are online at <a href="https://github.com/malc0/BoC">https://github.com/malc0/BoC</a> which has a link to a demonstration system that you can play with (CUCC meets 2014-15).</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<ul id="links">
|
||||
<li><a href="index.htm">Expedition Handbook</a>
|
||||
<ul>
|
||||
<li><a href="survey/index.htm">Surveying guide</a> - Overview</li>
|
||||
<li><a href="look4.htm">Prospecting guide</a> – Overview</li>
|
||||
<li><a href="rescue.htm">Rescue guide</a></li>
|
||||
<li><a href="rig/rigit.html">Rigging guide</a></li>
|
||||
<li><a href="photo.htm">Photography guide</a></li>
|
||||
</ul></li>
|
||||
<li><a href="../infodx.htm">Index to info/topics pages</a></li>
|
||||
|
||||
</ul>
|
||||
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>
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
<body>
|
||||
<h1>Expo Planning Guide</h1>
|
||||
<dl>
|
||||
<dt><a href="../years/2018/index.html">Running this year's expo (2018)</a></dt>
|
||||
<dt><a href="../years/2022/index.html">Running this year's expo (2022)</a></dt>
|
||||
<dt><a href="../years/2018/index.html">How we ran expo (2018)</a></dt>
|
||||
<dd>Example of how to do it. </dd>
|
||||
|
||||
<dt><a href="leader.htm">Checklist for expo leaders</a></dt>
|
||||
@@ -33,6 +34,12 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<dt>Communications</dt>
|
||||
<ul>
|
||||
<li>Kanban job ticket system, either <a href="https://trello.com/b/WddB62HI/expo-jobs">Trello</a> for 2022, or <a href="/kanboard"><var>/kanboard</var></a> for later expos</li>
|
||||
<li>Live & archived chat: <a href="https://app.element.io/#/room/!wTGfwrwfiRMsZvzGZW:matrix.org">Matrix chat</a> from 2022, or
|
||||
<a href="https://app.slack.com/client/TQF95LK8T/CQUJSN8P9/thread/CQUM4L3HD-1579458900.001800">Slack</a> as used for the aborted 2020 and 2021 expos, but with archived useful discussions</li>
|
||||
</ul>
|
||||
|
||||
<dt>Planning who does what</dt>
|
||||
<dd>Read the expo leader checklist (above). Consult the planning lists from previous expos:</dd>
|
||||
|
||||
@@ -58,44 +58,24 @@ expoweb (repo)
|
||||
<p>
|
||||
See the live report on which urls resolve to which actual folders at <a href="/pathsreport">pathsreport</a>.
|
||||
|
||||
<h4 id="js">Javascript</a></h4>
|
||||
There are javascript packages installed directly on the operating system on the server, i.e. in<br>
|
||||
<code>/usr/share/javascript</code>
|
||||
which are used by some <var>expoweb</var> pages:
|
||||
<ul>
|
||||
<li><var>CaveScript</var> for showing 3D views of cave centreline data,
|
||||
<li><var>CodeMirror</var> for syntax-colouring survex files
|
||||
<li><var>openlayers</var> for geographic mapping integration, for out slippy map showing paths and entrances at <a href="/map/map.html">/map/map.html</a>
|
||||
<li><var>leaflets</var> and experimental mapping test (only on /map/index-leaflet.html )
|
||||
</ul>
|
||||
These javascript packages are not documented but some are mentioned in <a href="troglaptop.html">the soft dev laptop</a> configuration.
|
||||
|
||||
<p>Currently installed on the server (October 2021) are the following javascript packages which are <em>not used at all by troggle or any of the expo website</em>:
|
||||
<ul>
|
||||
<li>jquery
|
||||
<li>jquery-ui
|
||||
<li>mootools
|
||||
<li>sphinxdoc
|
||||
<li>underscore
|
||||
</ul>
|
||||
<p>Presumably these are used by something else hosted on the server ? Anyway, if you are setting up a new troggle sever you don't need them.
|
||||
|
||||
|
||||
<h3 id="what">Server configuration: software</a></h3>
|
||||
|
||||
<ul>
|
||||
<li>apache webserver *
|
||||
<li>expofiles *
|
||||
<li>MySQL/MariaDB database *
|
||||
<li>packaged javascript
|
||||
<li>cgit (live webpage showing git status of repos) - <a href="https://git.zx2c4.com/cgit/about/">qit.zx2c4.com/cgit</a>
|
||||
<li>Makefile (obsolete?)
|
||||
<li><b>apache webserver *</b>
|
||||
<li><b>expofiles *</b>
|
||||
<li><b>MySQL/MariaDB database *</b>
|
||||
<li><a href="#xapian">xapian</a> (search function) - <a href="https://xapian.org/">xapian.org</a>. Wookey did this in 2020.
|
||||
<li><a href="#kanboard">kanboard</a> (task planning) - <a href="https://kanboard.org/">kanboard.org</a>. Wookey did this in 2022.
|
||||
<li><a href="#boe">boe</a> (bank of expo - not troggle)
|
||||
<li><a href="#cgit">cgit</a> (live webpage showing git status of repos) - <a href="https://git.zx2c4.com/cgit/about/">qit.zx2c4.com/cgit</a>
|
||||
<li>bins (used to regenerate the photo albums)
|
||||
<li>packaged javascript
|
||||
<li>cron
|
||||
<li>xapian (search function) - <a href="https://xapian.org/">xapian.org</a>. Wookey did this in 2020.
|
||||
|
||||
<li>boe (bank of expo - not troggle)
|
||||
<li>Makefile (obsolete?)
|
||||
<li><a href="#runserver">Running a test Troggle server</a>
|
||||
</ul>
|
||||
* These are essential to make troggle work at all.
|
||||
<b> * These are essential</b> to make troggle work at all.
|
||||
|
||||
<p>The server configuration scripts are in the file <var>troggle/debian/serversetup</var> and are also
|
||||
documented with notes in <var>troggle/README.txt</var>. It is intended that the full documentation will
|
||||
@@ -373,20 +353,71 @@ expofiles
|
||||
├── 2019
|
||||
└── 2021</textarea></code>
|
||||
|
||||
<h3>cron</h3>
|
||||
<h3 id="js">Javascript</a></h3>
|
||||
There are javascript packages installed directly on the operating system on the server, i.e. in<br>
|
||||
<code>/usr/share/javascript</code>
|
||||
which are used by some <var>expoweb</var> pages:
|
||||
<ul>
|
||||
<li><var>CaveScript</var> for showing 3D views of cave centreline data,
|
||||
<li><var>CodeMirror</var> for syntax-colouring survex files
|
||||
<li><var>openlayers</var> for geographic mapping integration, for out slippy map showing paths and entrances at <a href="/map/map.html">/map/map.html</a>
|
||||
<li><var>leaflets</var> and experimental mapping test (only on /map/index-leaflet.html )
|
||||
</ul>
|
||||
These javascript packages are not documented but some are mentioned in <a href="troglaptop.html">the soft dev laptop</a> configuration.
|
||||
|
||||
<p>Currently installed on the server (October 2021) are the following javascript packages which are <em>not used at all by troggle or any of the expo website</em>:
|
||||
<ul>
|
||||
<li>jquery
|
||||
<li>jquery-ui
|
||||
<li>mootools
|
||||
<li>sphinxdoc
|
||||
<li>underscore
|
||||
</ul>
|
||||
<p>Presumably these are used by something else hosted on the server ? Anyway, if you are setting up a new troggle sever you don't need them.
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 id="xapian">Search: xapian</h3>
|
||||
<p>Installed independently of troggle simply with <var>apt install xapian-omega</var> and
|
||||
then configured into the troggle-generated menus in <var>css/main2.css</var>.
|
||||
You can see it at the bottom of the top-left menu on this page and on nearly all pages of the handbook.
|
||||
The function is
|
||||
connected with an apache configuration
|
||||
<code>ScriptAlias /search /usr/lib/cgi-bin/omega/omega</code> in <var>~expo/config/apache/expo.conf</var>.
|
||||
Installed by Wookey in May 2020.
|
||||
|
||||
<h3 id="kanboard">Planning: kanboard</h3>
|
||||
<p>This is installed on the server and accessed at <a href="/kanboard"><var>/kanboard</var></a> It is an open source
|
||||
equivalent of the Trello kanban card task planning system. The 2022 expo uses
|
||||
<a href="https://trello.com/b/WddB62HI/expo-jobs">Trello itself</a> (separate login required) but we intend to move to our own kanboard
|
||||
from 2023.
|
||||
|
||||
<h3 id="boe">boe</h3>
|
||||
<p>This is a perl script, and served by the webserver using the url apache configuration<pre><code>#bank of expo
|
||||
#current expedition
|
||||
ScriptAlias /boe /home/expo/boe/boc/boc.pl
|
||||
<Directory /home/expo/boe/boc>
|
||||
AddHandler cgi-script .pl
|
||||
SetHandler cgi-script
|
||||
Options +ExecCGI
|
||||
Require all granted
|
||||
</Directory></code></pre> in <var>~expo/config/apache/expo.conf</var>.
|
||||
<p>Handbook documentation for its use is at <a href="../bankofexpo.html">The Bank of Expo</a>.
|
||||
|
||||
<h3 id="cgit">cgit - web interface to server git repos</h3>
|
||||
<p>This is a compiled executable written in C which, like boe, is installed as an Apache CGI redirection.
|
||||
The installation instructions are at <a href="https://git.zx2c4.com/cgit/tree/README">https://git.zx2c4.com/cgit/tree/README</a>
|
||||
but we use the Debian package <a href="https://packages.debian.org/stable/cgit">https://packages.debian.org/stable/cgit</a>.
|
||||
|
||||
<h3>cron - automatically run tasks to schedule</h3>
|
||||
<p>This is currently disabled in Feb. 2022. If you need anything that would be done frequently (e.g. bins) you currently have to run it manually.
|
||||
<p>The server runs it's hourly, daily and weekly scripts using the anacron system. In
|
||||
<var>~expo/config/cron/</var> on the server, there are <var>expo.hourly</var>
|
||||
and <var>expo.daily</var> scripts and these are (or should be) launched at the appropriate times by
|
||||
the server root from <var>/etc/crontab</var>. This is not obviously working on the server at present.
|
||||
|
||||
<h3>Search: xapian</h3>
|
||||
<p>Installed independently of troggle simply with <var>apt install xapian-omega</var> and
|
||||
then configured into the troggle-generated menus in <var>css/main2.css</var>. The function is
|
||||
connected with an apache configuration
|
||||
<code>ScriptAlias /search /usr/lib/cgi-bin/omega/omega</code> in <var>~expo/config/apache/expo.conf</var>.
|
||||
Installed by Wookey in May 2020.
|
||||
|
||||
<h3>Running a test Troggle server</h3>
|
||||
<h3 id="runserver">Running a test Troggle server</h3>
|
||||
<p>
|
||||
For high volume use, Troggle should be run using a web server like apache.
|
||||
However, a quick way to get started is to use the development server built into Django.
|
||||
@@ -405,16 +436,6 @@ gunicorn also works. This runs with 9 workers (suitable for a 4-core processor,
|
||||
$ gunicorn --reload -w 9 -b :8000 wsgi
|
||||
</code>
|
||||
|
||||
<h3>boe</h3>
|
||||
<p>This is a perl script, and served by the webserver using the url apache configuration<code><pre>#bank of expo
|
||||
#current expedition
|
||||
ScriptAlias /boe /home/expo/boe/boc/boc.pl
|
||||
<Directory /home/expo/boe/boc>
|
||||
AddHandler cgi-script .pl
|
||||
SetHandler cgi-script
|
||||
Options +ExecCGI
|
||||
Require all granted
|
||||
</Directory></pre></code> in <var>~expo/config/apache/expo.conf</var>.
|
||||
|
||||
<hr />
|
||||
Return to: <a href="trogdesign.html">Troggle design and future implementations</a><br />
|
||||
|
||||
Reference in New Issue
Block a user