scripts - online edit of handbook/troggle/troglaptop.html [PosixPath('/home/philip/expo/expoweb/handbook/troggle/troglaptop.html')]

This commit is contained in:
Philip Sargent 2024-12-15 21:49:05 +00:00
parent 8dfede8600
commit 5f2d044c97

View File

@ -30,7 +30,7 @@ need to write any new software for what you need to do. Look at the tools and re
<div style="margin-left: 10%"> <div style="margin-left: 10%">
<h3>Short-cut</h3> <h3>Short-cut</h3>
If you have never done any bulk updates but want to look at the code, then there is a shortcut. You do not actually need to do all the Bulk Update machine configuration first. If you have never done any bulk updates, and don't understand git, but want to look at the code and maybe run it, then there is a shortcut. You do not actually need to do all the Bulk Update machine configuration first.
<p>You can download the code without having a key-pair like this: <p>You can download the code without having a key-pair like this:
<pre><code>$ mkdir ~/expo <pre><code>$ mkdir ~/expo
$ cd ~/expo $ cd ~/expo
@ -44,6 +44,7 @@ $ git clone http://expo.survex.com/repositories/troggle/.git</code></pre>
but you need to make them executable before they will work: but you need to make them executable before they will work:
<pre><code>$ cd ~/expo/troggle <pre><code>$ cd ~/expo/troggle
$ chmod +x *.sh</code></pre> $ chmod +x *.sh</code></pre>
Now go to <a href="#scripts">scripts</a>
</div> </div>
<h3>Read more here..</h3> <h3>Read more here..</h3>
@ -72,7 +73,7 @@ http://expo.survex.com/repositories/troggle/.git/tree/README.txt
</ul> </ul>
<p>Before you do anything else, get yourself set up with a <a href="../computing/keyexchange.html">key-pair</a> to access the software on the expo server properly. <p>Before you do anything else, get yourself set up with a <a href="../computing/keyexchange.html">key-pair</a> to access the software on the expo server properly.
<h3>Directory (folder) structure</h3> <h3 id="folders">Directory (folder) structure</h3>
<p>This is up to you of course, but a suggested structure is like this ("~" means your own user home folder, e.g. <var>/home/philip/</var>): <p>This is up to you of course, but a suggested structure is like this ("~" means your own user home folder, e.g. <var>/home/philip/</var>):
<ul> <ul>
<li>~/expo <li>~/expo
@ -86,7 +87,7 @@ http://expo.survex.com/repositories/troggle/.git/tree/README.txt
</ul> </ul>
</ul> </ul>
<p>Do familiarise yourself with the directory structure on the expo server, which we will be duplicating (partly) as docmented in <a href="serverconfig.html">The Expo Server</a>. We are not here doing a full install of all the software and scripts on the server, just the minimum to run, test and debug troggle on Django. <p>Do familiarise yourself with the directory structure on the expo server, which we will be duplicating (partly) as docmented in <a href="serverconfig.html">The Expo Server</a>. We are not here doing a full install of all the software and scripts on the server, just the minimum to run, test and debug troggle on Django.
<h4 id="scripts">Scripts</h4>
<p>There are two scripts in the <var>troggle</var> folder which will do semi-automatically what is described below. Have a look at <p>There are two scripts in the <var>troggle</var> folder which will do semi-automatically what is described below. Have a look at
<ul> <ul>
<li><var>os-trog24.04.sh</var> <li><var>os-trog24.04.sh</var>