diff --git a/handbook/computing/basiclaptop.html b/handbook/computing/basiclaptop.html index 937b21435..fc4527557 100644 --- a/handbook/computing/basiclaptop.html +++ b/handbook/computing/basiclaptop.html @@ -11,15 +11,45 @@

Setting up a basic Expo laptop

What you can do from any laptop

-

There is a lot you can do without installing any software on your own machine. Using a browser, you can logon to the Expo online system ("the website", also known as "troggle") as user 'expo' at the Troggle User Login page. (Ask another expoer for the 'cavey:beery' password.) You can: +

There is a lot you can do without installing any software on your own machine. Anything with a web browser is an 'Expo Basic laptop'. +Using the browser, you can logon to the Expo online system ("the website", also known as "troggle") as user 'expo' at the Troggle User Login page. (Ask another expoer for the 'cavey:beery' password.) You can:

-

Documentation on how to actually do these things are in the data maintenance manual. +

Documentation on how to actually do these things are in the data maintenance manual. +
Or use the "Search" box below the menu on the left-hand side of the page. +
Or go to any of the troggle report pages and explore the menu of items across the top of the page: + + 264 | + 290 | + 359 | + Survex | + All Survex | + Scans | + Upload Scans | + Drawings | + Upload Drawings | + Upload Photos | + 290 (FGH) | + 264 (Balkonhöhle) | + + Data Issues | + tasks to do | + caves | + QMs | + ents | + expoers | + survey lengths | + statistics | + Wallets(2022) | + Expo(2022) | +

And using email to send the results to an expo nerd, you can:

and of course using your phone or laptop you can update entries on expo antics on public forums such as ukcaving. -

If you also have Survex and Therion installed on the laptop, you can do nearly everything for initial cave survey data entry. See the -Survex, Tunnel and Therion installation instructions and the expo survey laptop installation instructions. -(These will be moved to a different page in the handbook soon). +

If you also have Survex and Therion installed on the laptop (which makes it an "Expo Survey Laptop"), you can do nearly everything for initial cave survey data entry. See the expo survey laptop installation instructions.

We are actively working on increasing the number of expo activities that can be done with just a browser and no, or minimal, installed software. @@ -43,83 +71,36 @@ browser. Many of these capabilities are not new, but they weren't documented and href="manual.html">these capabilities are documented, though writing better documentation is an unending job, and we have a data maintenance manual.

-

See the expertise sequence which lists what you can do at each stage. -

Your own basic laptop

-

If you are new to expo and can't do what you want with just a browser and email, then please use the expo laptop in the potato hut first. You don't need to use your own laptop - which can take several hours to configure completely. -

To set up your own basic laptop for bulk cave data maintenance you need to do this:

-
    -
  1. Register an SSH key with an expo nerd i.e 'get a login'. (see "Key Configuration" below)
  2. -
  3. Install git version control software to download ("clone"), view and edit caving data.
  4. -
  5. Clone two expo repositories loser and drawings so you have the files on your machine. (Use the git reminder for how to do this, e.g. git clone ssh://expo@expo.survex.com:/home/expo/expoweb .
  6. -
  7. Install survex, and therion or tunnel for editing cave data. -
  8. Install image editing software such as Irfanview or gimp. -
  9. If you are also planning on extensive work rewriting parts of the handbook, then you will also need the expo repository expoweb. -
-

The expo laptop is a basic laptop configuration. It has everything for editing and testing survey files (survex, aven, cavern), drawings (tunnel, therion), scanned images of sketches and centre-lines, and photographs. The expo laptop in the potato hut is also physically connected to a flatbed scanner but you can use your phone camera instead and email the images to yourself on your laptop. +

Your own Survey laptop

+

If you are new to expo and can't do what you want with just a browser and email, then please use the expo laptop in the potato hut first. You don't need to use your own laptop - which can take a while to configure with survex, tunnel and therion. +

You may also need to install image editing software such as Irfanview or gimp. + + +

The expo laptop

+

The expo laptop is a bulk update laptop configuration. It has everything for editing and testing survey files (survex, aven, cavern), drawings (tunnel, therion), scanned images of sketches and centre-lines, and photographs. The expo laptop in the potato hut is also physically connected to a flatbed scanner but you can use your phone camera instead and email the images to yourself on your laptop.

The expo laptop may also have some software for managing vector images (such as rigging guides), PocketTopo files, GIS digital maps and GPS tracks. See the full survey laptop configuration for details. -

Managing large sets of photographs and scanned images, and managing several folders of these on your laptop and on expofiles on the server is finicky and time-consuming. Many programmers use rsync to help them with this, but if you have never used rsync, now is not the time to learn. Use filezilla and FTP. It is at this point that if you are using a Windows machine, you really need to read about how expo uses hard and soft links and filenames on Windows. If things get screwed up badly, it will need someone on a Linux machine to sort it out. +

Bulk Updates

+

Managing large sets of photographs and scanned images, and managing several folders of these on your laptop and on expofiles on the server is finicky and time-consuming. Many programmers use rsync to help them with this, but if you have never used rsync, now is not the time to learn. Use filezilla on the expo laptop. It is at this point that if you are using a Windows machine, you really need to read about how expo uses hard and soft links and filenames on Windows. If things get screwed up badly, it will need someone on a Linux machine to sort it out. -

Once you have got all this working, and if it doesn't do what you want or you don't understand how to use it, -look at the full survey laptop configuration for everything else. -And please write some documentation for the next person in your situation. -

Cheat lists and quick reminders

- - -

Software

-

If you are just typing up logbook entries then you don't need any other software. If you are working with survey data download this software (short list): -

- -

Configuration

- -

Follow this link to register a key with the expo server to get upload (i.e. read/write) access. -Do this first, Without it none of git, scp, ftp or rsync will work. - -

On a Windows machine you will need to configure pageant (the putty authentication agent) -to run at startup to load your key. -Note that you are loading your private key, the .ppk file, into pageant and that this key never leaves your laptop.

- - -

When using Windows please, please be excessively -careful when naming files and survex names and be exceptionally careful when using rsync. - -

Learning how to use this software

- -

FTP

-

It is necessary to use scp or sftp to manage large collections of files in 'expofiles' +

It is necessary to use Filezilla scp or sftp to manage large collections of files in 'expofiles'. Before you attempt this, talk + to a more experienced expoer. +

See Experts: Uploading files, Uploading files and Uploading GPS tracks. - Only machines which have done the key-pair setup process can do scp, sftp or rsync. + Only Bulk Data machines which have done the key-pair setup process can do scp, sftp or rsync or run Filezilla.

diff --git a/handbook/computing/bulkupdatelaptop.html b/handbook/computing/bulkupdatelaptop.html new file mode 100644 index 000000000..7f521be22 --- /dev/null +++ b/handbook/computing/bulkupdatelaptop.html @@ -0,0 +1,134 @@ + + + + +CUCC Expedition Handbook: Bulk Update laptop + + + +

CUCC Expedition Handbook - Bulk Update laptop

+ +

Cave data - Bulk Updates

+ +

You will already have configured your laptop to do all the basic stuff using the +basic Expo laptop guide, +and you probably will also have installed the survey tools survex, tunnel, therion etc. +in configuring a survey laptop. + +

This is an attempt at describing how to configure your laptop to do bulk file transfers to and from the server. If you are only managing one or two files at a time, you don't need this. +

If you want to do software development instead, go to configuring a troggle development machine. +

+ +

Windows and Linux

+ + +

Chromebooks and Macs

+ + + +

Software

+

You need three kinds of software +

    +
  1. Encrypted keys to access the server (ssh). None of the rest works without this. +
  2. Version control software (git) for the loser survex data files, drawings (tunnel, therion) files, website and handbook (expoweb) files. +
  3. File-transfer tools scp, rsync and sftp (Filezilla) for the files not under version control: photos, documents, scanned logbooks, scanned +raw survey notes (surveyscans), scanned cave centre-line plots and everything else. [Never use these on the version-controlled folders.] +
+ +

If you are only managing photos, GPS tracks or documents then you don't need the version control stuff. + +

If you are only managing survey data then you probably don't need the file-transfer stuff. + +

QMs and scripts

+

You may not need a full troggle software development machine if you are only fixing a small script. If you are, you need +

+ +

Your own Bulk Update laptop

+ +

To set up your own laptop for bulk cave data maintenance you need to do this:

+
    +
  1. Register an SSH key with an expo nerd i.e 'get a login'. (see "Key Configuration" below)
  2. +
  3. Install git version control software to download ("clone"), view and edit caving data.
  4. +
  5. Clone two expo repositories loser and drawings so you have the files on your machine. (Use the git reminder for how to do this, e.g. git clone ssh://expo@expo.survex.com:/home/expo/expoweb .
  6. +
  7. If you are also planning on extensive work rewriting parts of the handbook, then you will also need the expo repository expoweb. +
+ +

For Linux users only:

+ + +

Note that on a Debian or Ubuntu machine you should normally install the versions that come with the specific distro (e.g. v11 Bulleye for Debian, or Jammy Jellyfish 22.04 for Ubuntu) i.e. install using 'sudo apt install xxx', not by downloading things from the above sites. So installing everything you need should be as simple as: +

+

+ + +

For Windows users only:

+

None of this works until you set up the key-pair setup using PuTty/Pageant. +

To install and configure Filezilla on your machine see FileZilla install instructions which will set you up pointing at the correct folder automatically. + + +

Read the Detailed Windows Configuration Instructions for foconfiguring a Windows Bulk Update machine. + +

Configuring git

+

On a new machine you need to configure your git identity: +

git config --global user.email "you@example.com"
+git config --global user.name "Your Name"
+git config --global pull.rebase true
+
+ + +

Cheat lists and quick reminders

+ + +

Complementary tools

+

When maintaining the HTML files in the expo handbook (the :expoweb: git repository) a link-checker is useful to report bad URLs (links to external sites go bad regularly) and to find orphaned pages with no in-links. The website has about 2,000 internal URLs in just the Tunnel wiki section alone. +

+ + + + + +
+Go back to: Basic laptop
+Go back to: Survey laptop
+Go on to: Windows Bulk Update laptop
+ +
+ diff --git a/handbook/computing/contribute.html b/handbook/computing/contribute.html index a7f692f33..1b0d021e7 100644 --- a/handbook/computing/contribute.html +++ b/handbook/computing/contribute.html @@ -136,12 +136,15 @@ of the things we are already thinking about. And before you do anything, please a page or two on what you think would be a good idea (using the handbook editing "Edit this page" capability to add a new design document). +

Your laptop

-Before you do anything substantial you will probably need to -set up a basic expo machine and -then a survey data management configuration. This -can take several hours, but you don't need to install everything before +Your own laptop + web-browser is already a basic expo machine. +You will need to install cave survey software to make it a +then a survey laptop. This +can take an hour or so, but you don't need to install everything before you can contribute to fixing things in the Expo Systems To-Do List. +Once you have got a bit of experience with the how expo works, you can upgrade your laptop +to a bulk update machine. If you really want to get stuck into the code you will need a troggle software development configuration.

Finally, if that all sounds like too much hassle for you, were are in desparate need diff --git a/handbook/computing/keyexchange.html b/handbook/computing/keyexchange.html index b4ffbd6e8..46c589345 100644 --- a/handbook/computing/keyexchange.html +++ b/handbook/computing/keyexchange.html @@ -10,7 +10,7 @@

Key-Pair Setup

You only need to do this if you need to do bulk updates of a lot of files to the server.
- Copying files from the server does not need this.
- - Only people updating or rearranging files on the server need this, e.g. + - Only people updating or rearranging files on the server with a Bulk Update Laptop, or programmers doing troggle software development need this, e.g.

+

Using ssh-copy-id

+ +

Using Filezilla and file copying

+
  • Now your public key is installed for your second machine. This will enable ssh login instantly. You check that it works by logging into the expo server using ssh from your second machine: ssh expo@expo.survex.com .

    -

    Note that by using sFTP like this we avoid having to use a text editor over ssh. If you know what you are doing you can do this of course, but the above process is less likely to cause problems for a Windows user setting up their phone as a second device where they are not experienced with vi or nano. +


    -Return to Setting up a basic laptop +Return to Setting up a bulk update laptop diff --git a/handbook/computing/manual.html b/handbook/computing/manual.html index 9723047c2..795c5ef2d 100644 --- a/handbook/computing/manual.html +++ b/handbook/computing/manual.html @@ -25,7 +25,9 @@ 'complete process for recording cave data', possibly in one of the side-pages which you skipped through when you read it. -

    You already have the password, so just using troggle web pages you can already +

    With a Basic Laptop

    +

    You already have the password, so just using troggle web pages and a +basic laptop you can already do these things which have been "trogglized":

    +

    See configuring a Basic laptop. + +

    With a Survey Laptop

    +

    A survey laptop has Tunnel and Therion, and you use it for cave survey production from raw data. Generally it is not what you use to fix things that have gone wrong - unless what is wrong is simply that something is missing because a job has not been done. +

    See configuring a Survey laptop. + + +

    With a Bulk Update Laptop

    +

    There are several standard data maintenance jobs that haven't yet got trogglized. So if: +

    +

    See configuring a Bulk Update laptop. + +we will need to use the things* installed on the expo laptop or on your own laptop if you are not in the potato hut on expo. Filezilla will do most of what you need for moving files. +We also have andftp Android instructions for file manipulation. + +

    While Filezilla (including the digital key) is enough for moving files in expofiles, moving files in the version-controlled repositories means you need to find someone who knows git (see git cheatsheet) to clean up everything after you have finished. + + + +

    * footnote: the 'things' include the digital key that allows the laptop to be trusted by the server, as well as various installed software.

    Data maintenance task list

    We have an online list of outstanding data maintenance tasks. See the 'Survey Data' to-do list @@ -96,22 +122,6 @@ possibly in one of the side-pages which you skipped through when you read it.

    This password is all you need to log in to troggle. There is also an a systems account 'expoadmin' with a different password which enables the import/export control panel for re-importing all the input data files. -

    Beyond the easy stuff

    -

    There are several standard data maintenance jobs that haven't yet got trogglized. So if: -

    - -we will need to use the things* installed on the expo laptop or on your own laptop if you are not in the potato hut on expo. Filezilla will do most of what you need for moving files. -We also have andftp Android instructions for file manipulation. - -

    While Filezilla (including the digital key) is enough for moving files in expofiles, moving files in the version-controlled repositories means you need to find someone who knows git (see git cheatsheet) to clean up everything after you have finished. - - - -

    * footnote: the 'things' include the digital key that allows the laptop to be trusted by the server, as well as various installed software.


    Return to: expo online systems overview
    diff --git a/handbook/computing/phone.html b/handbook/computing/phone.html index 2a352a14e..5ded263ef 100644 --- a/handbook/computing/phone.html +++ b/handbook/computing/phone.html @@ -34,6 +34,52 @@ with the expo survey data workflow.
  • FTP using Cx_File_Explorer (this is probably out of date) +

    Bulk Data Phone: Using an FTP app

    +

    If you want to do it yourself and the USB cable trick does not work then you will need to install a file manager and FTP app. Currently (on Expo 2019) the best seems to be the free andftp app. Assuming you can find where your phone camera has put the photo files on your phone, you can use your phone to upload photos directly to the /uploads/ folder on the expo server. However renaming them to something sensible and putting them in your own /YourName/ folder (see above for file naming guidelines) is fiddly on a phone. +

    To use the FTP app you will need: +

      +
    1. The hostname of the server: expo.survex.com +
    2. the username: expo +
    3. the password: (the usual cavey:beery password which you can get verbally from another expoer) +
    4. the target folder: /uploads/, or it may appear as /expofiles/uploads/ +
    5. the port number: 21 (if you leave this blank it will probably work) +
    +

    But none of this will work until you have also done the key-pair setup procedure. On a phone this means that you will also need to install a terminal (command line) app. See Android instructions. +

      +
    1. Install the andftp app onto your Android phone using the Google Play Store and allow it to access your files and photos on your phone (just click on the popup to do this). +
    2. Click on the icon that looks like a "plus" synbol in a circle +
    3. This opens a window with 3 tabs: General, Advanced and Sync +
    4. On the General tab, type in the hostname, username and password as listed above. +
    5. Also tick the checkbox "Enable resume support" +
    6. Click OK to the two popups that appear +
    7. You will now see an icon of a networked file folder (light blue) with the label "expo.survex.com". Click on it. +
    8. Wait a while as it loads... +
    9. Keep waiting. Various messages will scroll by at the bottom of the screen in tiny font. +
    10. Keep waiting.. +
    11. The tiny text at the bottom will say "226 Transfer complete" and the main part of the window will show a listing of the files in the /uploads/ folder on the server. +
    12. Now click on the little icon of a phone near the middle of the top row of icons. +
    13. This will show a list of folders on your phone. Initially it will show "alt_autocycle, Android and DCIM". +
    14. Click on ""DCIM", it will show a folder "Camera", click on that +
    15. Now you can see a list of all your photo files by name and with the size shown on the right. Typically they will be 1.3MB or so in size. +
    16. Before you upload, you need to create your own folder. +
    17. Now click on the icon of a little cloud near the middle of the icon bar. This will show the files on the server. +
    18. Now you need to create a folder /YourName/ and move those files into it. Click on the 3-dots icon on the right-hand end of the icon bar. +
    19. Select the Create Folder option. +
    20. A popup appears and you type in YourName. The folder is created. +
    21. Click on the /YourName/ folder. This will makeyour folder the destination for uploaded files. +
    22. Now click on the little icon of a phone near the middle of the top row of icons. +
    23. This shows you the list of your photo files you saw before. +
    24. Clicking on each photo filename will cause a green tick to appear on the left. This is selecting files for FTP upload. +
    25. Now click on the "upload icon" on the top row: it looks like a short horizontal line with an up-arrow on it. +
    26. A popup will appear asking if you wish to proceed. Click OK. +
    27. The upload happens and you can see progress bars for each file. +
    28. When it finishes it presents a popup with an OK button. Click on it. +
    29. Now you will see the files you have just uploaded. And they will be in your folder. Success. +
    30. Now you need to rename the files to something descriptive. This is very time-consuming on a phone. +
    31. Click on one file to give it a green tick. Then select the 3-dot icon and then select the "Rename" option in the drop-down menu. +
    32. Of course you will have earlier noted down the names of all your photos and made a note of their contents (which you see using the phone's Gallery app) so that you can do the renaming intelligently. + +

    Return to Setting up a Chromebook
    Return to Setting up a basic laptop
    diff --git a/handbook/computing/surveylaptop.html b/handbook/computing/surveylaptop.html index af5b69036..aa803202e 100644 --- a/handbook/computing/surveylaptop.html +++ b/handbook/computing/surveylaptop.html @@ -2,54 +2,26 @@ -CUCC Expedition Handbook: Your laptop +CUCC Expedition Handbook: Your Survey laptop -

    CUCC Expedition Handbook - Your laptop

    +

    CUCC Expedition Handbook - Your Survey laptop

    -

    Cave survey software - beyond the basics

    +

    Cave survey software

    -

    Phones and laptops

    - - -

    Your phone

    -

    See Android phone page. - -

    Your laptop

    +

    Your Survey laptop

    You will already have configured your laptop to do all the basic stuff using the basic Expo laptop guide. +

    This is an attempt at a complete set of optional software for using survex, tunnel, therion, photos and GPS tracks to document our caves: using the existing data archive and processing new survey data.

    If you want to do software development instead, go to configuring a troggle development machine.

    -

    This page documents what else you might find useful if the basic laptop setup does not do what you need. - -

    Windows, Macs, Chromebooks and Linux

    - -

    Software

    Long-standing Expo policy is to use open tools and protocols so we can retain control of our own data over the long term. And not to require expo-goers to sign up to external services or spend money on software. @@ -59,9 +31,13 @@ but all the recommended software here is open source (and please don't install p +

    Installing the software

    + +

    For installing Survex, Tunnel etc. see this page which may be merged in here eventually. +

    The list of software:

    Nearly all our Austrian surveys have beeen produced using Tunnel (or were hand-drawn) but many smaller caves and some areas of SMKsystem are done with Therion because Therion does elevations and Tunnel doesn't. Expo has a policy decision on which to use: if it is an entirely new disconnected cave, then use Therion. If it is a passage in a cave where previously we used Tunnel, then use Tunnel. See also Comparison of Tunnel to Other Cave Software.

    - - -

    For Linux users only:

    - - -

    Note that on a Debian/Ubuntu machine you should normally install the versions that come with the distro (i.e. install using 'apt install xxx', not be downloading things from the above sites. So installing everything you need should be as simple as: -

    -

    - - -

    For Windows users only:

    -

    None of this works until you set up the key-pair setup using PuTty/Pageant. - - - -

    Visual Studio Code editor

    -

    If you use VS Code here are some relevant extras. - Not really for beginners but here are instructions for - configuring it for python. - On Windows you run VS Code as a Windows app but it communicates directly ("remotely") with the WSL Linux environment. -

    You will definitely want the - "Git History" extension - and probably the "GitLens" extension too. -

    It is entirely feasible (and on a slow machine, recommended) to use VS Code only for git management, and using a faster Windows-native editor, - such as Notepad++, for actually editing code and text. - - - - -

    Configuration

    -

    You will already have configured your machine as a 'basic laptop'. -If you have not yet done this, do that now, before continuing with these instructions. - -

    If you are using a Windows machine, go and skim read the Windows advanced configuration section before you actually start -any of this simpler stuff. - -

    Idiots guide to setting up git for expo - - PDF - Brendan's guide. Uses PuTTy and GitKraken. - -

    You need to register a key with the expo server to get upload (i.e. read/write) access. Do this first, Without it none of git, scp, ftp or rsync will work. -You can do this entirely on your own if you have access to the expo laptop to upload and install the public key generated by your laptop.

    - -

    On a Windows machine you will need to configure pageant (the putty authentication agent) -to run at startup to load your key. Note that you are loading your private key, the .ppk file, into pageant and that this key never leaves your laptop.

    - - - - - -

    Full illustrated instructions:

    - - -

    The above gets the command-line PuTTY tools (ssd, sftp, pscp) running, but doesn't get rsync working. You might like to try this (untested).

    - -

    When using Windows please, please be excessively careful when naming files and survex names and be exceptionally careful when using rsync. - -

    Learning how to use this software

    - -

    Complementary tools

    -

    When maintaining the HTML files in the expo handbook a link-checker is useful to report bad URLs (links to external sites go bad regularly) and to find orphaned pages with no in-links. The website has about 2,000 internal URLs in just the Tunnel wiki section alone. -

    - +
    +Go back to: Basic laptop
    +Go on to: Bulk Update laptop
    -
    +
    + diff --git a/handbook/computing/uploading.html b/handbook/computing/uploading.html index 73b35ea02..81173bf73 100644 --- a/handbook/computing/uploading.html +++ b/handbook/computing/uploading.html @@ -119,11 +119,10 @@ place (2023 maybe.. if Wookey gets this sorted out in time) but may be broken. P

    Using your own laptop

    -

    To use your own laptop on expo, or after you return from expo, you need need to use FTP. So become an experienced user first. +

    To use your own laptop on expo, or after you return from expo, it needs to be an expo Bulk data laptop, which takes quite a lot of effort to set up. +You need need to use FTP. So become an experienced user first. -

    You will need to know the expo password but none of this will work until you have also done the key-pair setup procedure.

    - -

    To install and configure Filezilla on your machine see FileZilla install instructions which will set you up pointing at the correct folder automatically. +

    You will need to know the expo password but none of this will work until you have also done the key-pair setup procedure and configured your Bulk Data laptop

    Getting photo files from phones

    @@ -140,53 +139,8 @@ for your caving holiday snaps and cave entrance location photos and share them w place on the server. Be careful that you are sharing the full original resolution of the photos and not some cut-down compressed bastardized "enhanced" version of the photos. +

    See the Bulk Data phone page for how to do bulk data transfer directly from your phone. -

    Using an FTP app

    -

    If you want to do it yourself and the USB cable trick does not work then you will need to install a file manager and FTP app. Currently (on Expo 2019) the best seems to be the free andftp app. Assuming you can find where your phone camera has put the photo files on your phone, you can use your phone to upload photos directly to the /uploads/ folder on the expo server. However renaming them to something sensible and putting them in your own /YourName/ folder (see above for file naming guidelines) is fiddly on a phone. -

    To use the FTP app you will need: -

      -
    1. The hostname of the server: expo.survex.com -
    2. the username: expo -
    3. the password: (the usual cavey:beery password which you can get verbally from another expoer) -
    4. the target folder: /uploads/, or it may appear as /expofiles/uploads/ -
    5. the port number: 21 (if you leave this blank it will probably work) -
    -

    But none of this will work until you have also done the key-pair setup procedure. On a phone this means that you will also need to install a terminal (command line) app. See Android instructions. -

      -
    1. Install the andftp app onto your Android phone using the Google Play Store and allow it to access your files and photos on your phone (just click on the popup to do this). -
    2. Click on the icon that looks like a "plus" synbol in a circle -
    3. This opens a window with 3 tabs: General, Advanced and Sync -
    4. On the General tab, type in the hostname, username and password as listed above. -
    5. Also tick the checkbox "Enable resume support" -
    6. Click OK to the two popups that appear -
    7. You will now see an icon of a networked file folder (light blue) with the label "expo.survex.com". Click on it. -
    8. Wait a while as it loads... -
    9. Keep waiting. Various messages will scroll by at the bottom of the screen in tiny font. -
    10. Keep waiting.. -
    11. The tiny text at the bottom will say "226 Transfer complete" and the main part of the window will show a listing of the files in the /uploads/ folder on the server. -
    12. Now click on the little icon of a phone near the middle of the top row of icons. -
    13. This will show a list of folders on your phone. Initially it will show "alt_autocycle, Android and DCIM". -
    14. Click on ""DCIM", it will show a folder "Camera", click on that -
    15. Now you can see a list of all your photo files by name and with the size shown on the right. Typically they will be 1.3MB or so in size. -
    16. Before you upload, you need to create your own folder. -
    17. Now click on the icon of a little cloud near the middle of the icon bar. This will show the files on the server. -
    18. Now you need to create a folder /YourName/ and move those files into it. Click on the 3-dots icon on the right-hand end of the icon bar. -
    19. Select the Create Folder option. -
    20. A popup appears and you type in YourName. The folder is created. -
    21. Click on the /YourName/ folder. This will makeyour folder the destination for uploaded files. -
    22. Now click on the little icon of a phone near the middle of the top row of icons. -
    23. This shows you the list of your photo files you saw before. -
    24. Clicking on each photo filename will cause a green tick to appear on the left. This is selecting files for FTP upload. -
    25. Now click on the "upload icon" on the top row: it looks like a short horizontal line with an up-arrow on it. -
    26. A popup will appear asking if you wish to proceed. Click OK. -
    27. The upload happens and you can see progress bars for each file. -
    28. When it finishes it presents a popup with an OK button. Click on it. -
    29. Now you will see the files you have just uploaded. And they will be in your folder. Success. -
    30. Now you need to rename the files to something descriptive. This is very time-consuming on a phone. -
    31. Click on one file to give it a green tick. Then select the 3-dot icon and then select the "Rename" option in the drop-down menu. -
    32. Of course you will have earlier noted down the names of all your photos and made a note of their contents (which you see using the phone's Gallery app) so that you can do the renaming intelligently. - -

    diff --git a/handbook/computing/winlaptop.html b/handbook/computing/winlaptop.html index ae0e1e104..3d7a446bc 100644 --- a/handbook/computing/winlaptop.html +++ b/handbook/computing/winlaptop.html @@ -6,9 +6,9 @@ -

    CUCC Expedition Handbook - Computers

    +

    CUCC Expedition Handbook - Windows Bulk Updates

    -

    Setting up a Windows expo laptop

    +

    A Windows Bulk Update laptop

    First read the generic instructions for all the software installations you will need:
    @@ -17,8 +17,6 @@ Setting up a machine for Expo survey processing

    -

    It used to be quite simple: software equivalents existed for Windows for everything we needed. Since Spring 2018, we unfortunately have to use ssh keys. This has simply added an extra step for most things, but has made one thing (rsync) really quite hard to get working. -

    What makes this all much more tiresome is that Microsoft are introducing some cool new ways of interacting with Linux systems but these are new and need some effort to get configured correctly. See the end of this page for more details.

    +

    Software

    + +

    Visual Studio Code editor

    +

    If you use VS Code here are some relevant extras. + Not really for beginners but here are instructions for + configuring it for python. + On Windows you run VS Code as a Windows app but it communicates directly ("remotely") with the WSL Linux environment. +

    You will definitely want the + "Git History" extension + and probably the "GitLens" extension too. +

    It is entirely feasible (and on a slow machine, recommended) to use VS Code only for git management, and using a faster Windows-native editor, + such as Notepad++, for actually editing code and text. + + + + +

    Configuration

    + +

    Idiots guide to setting up git for expo + - PDF - Brendan's guide. Uses PuTTy and GitKraken on WIndows. + +

    You need to register a key with the expo server to get upload (i.e. read/write) access. Do this first, Without it none of git, scp, ftp or rsync will work. +You can do this entirely on your own if you have access to the expo laptop to upload and install the public key generated by your laptop.

    + +

    On a Windows machine you will need to configure pageant (the putty authentication agent) +to run at startup to load your key. Note that you are loading your private key, the .ppk file, into pageant and that this key never leaves your laptop.

    + + +

    Full illustrated instructions:

    + + +

    The above gets the command-line PuTTY tools (ssd, sftp, pscp) running, but doesn't get rsync working. You might like to try this (untested).

    + +

    When using Windows please, please be excessively careful when naming files and survex names and be exceptionally careful when using rsync. + +

    Things that already work well

    Anything where the file upload and download is done via the verson control client software works really well. @@ -139,7 +203,7 @@ $ The generated key is in the current directory and you need to move them to ~/.ssh/ as is standard on Linux (which is not at all the same place that PuTTy uses to keep keys on Windows). -

    Now you have to complete the key-pair setup with the new key "id_ras_wsl.pub". But you don't need anyone else's help this time as you can use PuTTy to ssh into the server and copy your key to the right place yourself. +

    Now you have to complete the key-pair setup with the new key "id_ras_wsl.pub". But you don't need anyone else's help this time as you can use PuTTy to ssh into the server and copy your key to the right place yourself: it is a "Second Machine".

    Now finally you can use all the usual command line tools at yor wsl command line to communicate with the server with ssh, scp, rsync, such as:

    @@ -214,8 +278,9 @@ it shares with WSL2).
      
     
     
    -

    Installing and Configuring the rest of the software you need on Windows

    -

    Now return to the survey laptop page to configure all the rest of the software you need. +


    +Go back to: Basic laptop
    +Go back to: Survey laptop

    diff --git a/handbook/computing/wsllaptop.html b/handbook/computing/wsllaptop.html index cc3644bca..cb109c5d4 100644 --- a/handbook/computing/wsllaptop.html +++ b/handbook/computing/wsllaptop.html @@ -14,9 +14,11 @@
    Setting up a basic Expo laptop
    -Setting up a machine for survey data maintenance +Setting up a Survey machine for cave survey production
    -Setting up a Windows machine for Expo data maintenance +Setting up a machine for expo bulk data rearrangements +
    +Setting up a Windows machine for expo bulk data rearrangements

    WSL1 and WSL2

    @@ -74,6 +76,9 @@ in the \\wsl$\ ext4 filesystem (WSL2 only, not WSL1).

    Installing and Configuring the rest of the software you need on Windows

    Now return to ※the Windows data maintenance laptop page to configure all the rest of the software you need.⁂ +


    +Go back to: Basic laptop
    +Go back to: Survey laptop

    diff --git a/handbook/troggle/troglaptop.html b/handbook/troggle/troglaptop.html index f0884b3a0..c8bf994af 100644 --- a/handbook/troggle/troglaptop.html +++ b/handbook/troggle/troglaptop.html @@ -42,6 +42,7 @@ http://expo.survex.com/repositories/troggle/.git/tree/README.txt