From 36c2cc1ff8bf9a4ac916613d9fd9840842a0c7b7 Mon Sep 17 00:00:00 2001 From: Expo on server <expo@expo.survex.com> Date: Sun, 9 Jul 2023 13:01:39 +0100 Subject: [PATCH] Describe copying the javascript libraries from the server - online edit of handbook/troggle/troglaptop.html --- handbook/troggle/troglaptop.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/handbook/troggle/troglaptop.html b/handbook/troggle/troglaptop.html index 9b57c312f..9fa5617bd 100644 --- a/handbook/troggle/troglaptop.html +++ b/handbook/troggle/troglaptop.html @@ -88,7 +88,7 @@ File permissions are a big issue. provisioning so that systems are rebuilt cleanly. <a href="http://www.cuyc.org.uk">CUYC</a> (who also use Django) have a bash script which sets up a new django development system. We should copy that in the first instance. Alas, we haven't got around to doing any of this yet. -<h2 id="git">Configuring ubnutu</h2> +<h2 id="git">Configuring ubuntu</h2> <pre><code>sudo apt install python3 python3-pip -y sudo apt install sqlite3 sqlite3-doc -y @@ -115,7 +115,7 @@ git config --global user.name "Your Name" git config --global pull.rebase true </code></pre> -<h4>Pill the repositories</h4> +<h4>Pull the repositories</h4> We now pull the required repositories: <pre><code>cd ~/expo git clone ssh://expo@expo.survex.com/home/expo/troggle @@ -136,6 +136,12 @@ confusing and apparently inconsistent behaviour: e.g. you will upload a file but <p>You can, if you like, have the expo photo archive collection somewhere else, not inside <var>expofiles</var>, on a troggle development machine. To do this set the PHOTOS_ROOT appropriately in <var>troggle/localsettings.py</var>. By default it is <var>PHOTOS_ROOT = EXPOFILES / 'photos'</var>. This is handy if you want everything else in expofiles in your Linux home drive for speed, but don't care about speed for the 29GB of photos which can sit on an SDdrive. + <h2>Getting a copy of live javascript libraries</h2> + +To get the same javascript libraries as the expo server: + +<pre><code>scp -r expo@expo.survex.com:/usr/share/javascript/ ~/expo/troggle/javascript/ +</code></pre> <h2 id="python">Installing python libraries</h2>