mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 07:14:36 +00:00
Minimal laptop setup - the gateway drug
This commit is contained in:
@@ -130,7 +130,8 @@ complicated process. At a minimum you will be an experienced software nerd alrea
|
||||
You will have done the
|
||||
<a href="computing/keyexchange.html">key-pair setup</a> process - which you can only do entirely on your own if
|
||||
you have access to the <i>expo laptop</i>.
|
||||
<p>See <a href="computing/yourlaptop.html">setting up your own laptop</a> for the full list of software we use and where to get it.
|
||||
<p>See <a href="computing/basiclaptop.html">setting up a minimal laptop</a> for a short list of software. This assumes you know how to use it all.
|
||||
<br>See <a href="computing/yourlaptop.html">setting up your own laptop</a> for the full list of software we use and where to get it.
|
||||
<p>Note that the instructions are primarily for people using Linux with some help for those using Windows. If you are a Mac user then you are on your own.
|
||||
|
||||
|
||||
@@ -209,31 +210,21 @@ see if you are logged into troggle. In general the dynamically-generated pages,
|
||||
caves which are generated from the cave survey data, can not be edited in this way, but forms are provided
|
||||
for some types of these like 'caves'.</p>
|
||||
|
||||
<p><tt>
|
||||
[ui]<br/>username = Firstname Lastname <myemail@example.com>
|
||||
</tt></p>
|
||||
<h3>Cheat lists and quick reminders</h3>
|
||||
<ul>
|
||||
<li>Quick <a href="computing/qstart-git.html">reminders for using git</a> at the command line.
|
||||
<li>Quick <a href="computing/qstart-hg.html">reminders for using mercurial</a> at the command line.
|
||||
<li>Quick <a href="../manual.html#quickstart">reminders for using rsync</a> at the command line.
|
||||
</ul>
|
||||
|
||||
<p>The commit has stored the changes in your local Mercurial DVCS, but it has not sent anything back to the server. To do that you need to:</p>
|
||||
<p>Simple changes to static HTML files will take effect immediately (or as soon as the hg update hack is done, but this will disappear when we move entirely to git),
|
||||
but changes to dynamically-generated files - cave descriptions, QM lists etc. -
|
||||
will not take effect, until a nerd runs the expoweb-update script on the server.</p>
|
||||
|
||||
<p><tt>hg push</tt></p>
|
||||
<h3><a id="expowebupdate">The expoweb & drawings import scripts</a></h3>
|
||||
|
||||
<p>Before pushing, you should do an <tt>hg pull</tt> to sync with upstream first. If someone else has edited the same files you may also need to do:</p>
|
||||
|
||||
<p><tt>hg merge</tt></p>
|
||||
|
||||
<p>(and sort out any conflicts if you've both edited the same file) before pushing again</p>
|
||||
|
||||
<p>Simple changes to static files will take effect immediately, but changes to dynamically-generated files (cave descriptions, QM lists etc) will not take effect, until the server runs the expoweb-update script.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3><a id="expowebupdate">The expoweb-update script</a></h3>
|
||||
|
||||
<p>The script at the heart of the data management system update mechanism is a makefile that runs the various generation scripts. It is run every 15 minutes as a cron job (at 0,15,30 and 45 past the hour), but if you want to force an update more quickly you can run it he</p>
|
||||
|
||||
<p>The scripts are generally under the 'noinfo' section of the site just because that has (had) some access control. This will get changed to something more sensible at some point</p>
|
||||
<p>The import scripts for the cave data are currently (Feb.2020) run manually by a nerd. So if you enter cave data,logbooks or survey scans you won't see the result
|
||||
until a nerd has been placated.</p>
|
||||
|
||||
|
||||
<h3><a id="cavepages">Updating cave pages</a></h3>
|
||||
@@ -243,7 +234,9 @@ cave files in noinfo/cave_data/ and noinfo/entrance_data/. These files
|
||||
are named <area>-<cavenumber>.html (where area is 1623 or 1626). These
|
||||
files are processed by troggle. Use <tt>python databaseReset.py
|
||||
caves</tt> in /expofiles/troggle/ to update the site/database after
|
||||
editing these files.</p>
|
||||
editing these files.
|
||||
Use <tt>python databaseReset.py
|
||||
</tt> on its own to get a list of command options and brief explanations.</p>
|
||||
|
||||
<p>Clicking on 'New cave' (at the bottom of the cave index) lets you enter a new cave. <a href="caveentry.html">Info on how to enter new caves has been split into its own page</a>.</p>
|
||||
|
||||
@@ -258,7 +251,9 @@ superseded in 2012).</p>
|
||||
|
||||
<tt>/expoweb/years/</tt>
|
||||
|
||||
<p>which contains a number of files used to manage and record that year's expo. Have a look at expoweb/years/2018/ for a recent well-documented expo (the weather was good). Files are added and edited using the version control system for the expoweb repository.</p>
|
||||
<p>which contains a number of files used to manage and record that year's expo. Have a look at
|
||||
expoweb/years/2018/ for a recent well-documented expo (the weather was good).
|
||||
Files are added and edited using the version control system for the expoweb repository.</p>
|
||||
|
||||
<p>To create a new 'year' for next year's expo see <a href="computing/newyear.html">adding a new year</a>.
|
||||
|
||||
@@ -267,13 +262,6 @@ superseded in 2012).</p>
|
||||
<h3><a id="surveystatus">Maintaining the survey status table</a></h3>
|
||||
<p>See the <a href="survey/onlinewallet.html">documentation</a> on updating the online surveyscans folders using the lever-arch file of plastic wallets.
|
||||
|
||||
<p> This below is obsolete:
|
||||
<ul>
|
||||
<li>There was a table in the survey book which has a list of all the surveys and whether or not they have been drawn up, and some other info.
|
||||
|
||||
<li>This used to be generated by the script tablizebyname-csv.pl from the input file Surveys.csv
|
||||
</ul>
|
||||
|
||||
<h3><a id="menu">Cave pages and handbook menu design</a></h3>
|
||||
<p>See the <a href="computing/menudesign.html">menu design history and proposals</a>
|
||||
page on where we are and what we might do to improveand fix menus.
|
||||
|
||||
Reference in New Issue
Block a user