mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
Describe copying the javascript libraries from the server - online edit of handbook/troggle/troglaptop.html
This commit is contained in:
parent
fb45dd1eed
commit
36c2cc1ff8
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user