Scout Installation and Startup

Set up the system, software, and NAS installation before installing and deploying Scout.

Installing the Latest Version of Scout (Internet required)

Enter the following in the Ubuntu Terminal: docker pull scoutproject/scout:latest to pull the latest container version of Scout.

Running Scout (Offline or online)

To run Scout:

  1. Run the following command in the Ubuntu Terminal to launch the Scout Docker container. docker run --privileged -p 1337:1337 --rm -it --gpus all --mount type=bind,source=/nas,target=/nas -e ENV_IP="`ip route get 1 | sed 's/^.*src \([^ ]*\).*$/\1/;q'`" -v ~/:/data/db -v ~/tmp:/tmp/scout-tmp wildme/scout:latest Note: An Internet connection is required for the first installation. Each subsequent execution of the command either 1) pulls and runs the latest version of Scout if connected to the internet or 2) runs the existing container if not connected to the internet.
  2. During your first installation of Scout, you are prompted to enter a source image directory where the images are stored. Select/nas/images.
Welcome to Scout
----------------------------
Please create a directory on your NAS where you would like to upload your images. Then, enter the absolute path to that directory here. If you are uploading images to several sub-directories, please only list the parent folder. Eg: /nas/images/ or /nas/
  1. After entering the full path of the upload image directory, Scout starts normally.
latest: Pulling from scoutproject/scout
Digest: sha256:65316698984ac186823873406728e877cb169eb69f25d07bcb87e9c2b8e45994
Status: Image is up to date for scoutproject/scout:latest
* Starting database mongodb [ OK ]
> scout-mvp@0.0.1 start
> NODE_ENV=production node app.js
Validating your settings…
Your settings have been validated
----------------------------
Your Scout Server is now running.
Please open a Chrome browser and navigate to http://10.0.0.104:1337
----------------------------
Your password override token is: lccmnvxw6j
----------------------------
debug: Warning: since `sails.config.session.cookie.secure` is not set to `true`, the session
debug: cookie will be sent over non-TLS connections (i.e. with insecure http:// requests).
debug: To enable secure cookies, set `sails.config.session.cookie.secure` to `true`.
debug:
debug: If your app is behind a proxy or load balancer (e.g. on a PaaS like Heroku), you
debug: may also need to set `sails.config.http.trustProxy` to `true`.
debug:
debug: For more help:
debug: • https://sailsjs.com/config/session#?the-secure-flag
debug: • https://sailsjs.com/config/session#?do-i-need-an-ssl-certificate
debug: • https://sailsjs.com/config/sails-config-http#?properties
debug: • https://sailsjs.com/support
debug:
debug: It looks like your `sails.config.sockets.onlyAllowOrigins` array only includes
debug: references to the `localhost` origin. This is completely valid, but be sure
debug: to add any other origins to this list that you’d like to accept socket
debug: connections from!
debug:
info:
info: .-..-.
info:
info: Sails <| .-..-.
info: v1.5.3 |\<br> info: /|.\<br> info: / || \<br> info: \,’ |‘ \<br> info: .-‘.-==|/_--‘
info: `–‘-------‘
info: __—___–___—___–___—___–___
info: ____—___–___—___–___—___–___-__
info:
info: Server lifted in `/usr/src/app`
info: To shut down Sails, press \ + C at any time.
info: Read more at https://sailsjs.com/support.
debug: -------------------------------------------------------
debug: :: Sun Sep 25 2022 04:43:16 GMT+0000 (GMT)
debug: Environment : production
debug: Port : 1337
debug: -------------------------------------------------------

A successful Scout installation provides some critical information that a Lab Lead needs. This includes:

  • Scout URL and port for browser access

This URL should be provided directly to the Lab Lead when your Scout Server is finally running. Open a Chrome browser and go to http://10.0.0.104:1337 .

  • Password override token

This token is only needed if the Lab Lead forgets their password and cannot sign in. This token changes with every restart of Scout. Your password override token is: lccmnvxw6j.

Setup is complete after providing the Lab Lead the Scout Server URL and image directory full path on the NAS.

To run Scout on non-dedicated browser

  1. Choose two directories on your non-dedicated machine. We suggest:
-v ~/scout_data:/data/db

And

-v ~/scout_tmp:/tmp/scout-tmp

2. Run the following command to launch the Scout Docker Container:

docker run --privileged -p 1337:1337 --rm -it --gpus all --mount type=bind,source=/nas,target=/nas -e ENV_IP="`ip route get 1 | sed 's/^.*src \([^ ]*\).*$/\1/;q'`" -v /data/scout_data:/data/db -v /data/scout_tmp:/tmp/scout-tmp wildme/scout:latest

Info

An Internet connection is required for the first installation. Each subsequent execution of the command either 1) pulls and runs the latest version of Scout if an Internet connection is present or 2) runs the existing container if no Internet connection is present.

3. Follow the remaining steps on the Running Scout (Offline or online) guide. Start from item number 2.

Adding survey images to Scout

  • Anyone who has access to the Scout Server or the NAS remotely can copy aerial survey images into the /nas/images folder.
  • If Scout is running, it automatically checks this folder periodically for new images and copies them for internal storage and processing.
  • Images added to this folder disappear from the Ubuntu desktop folder as Scout imports them.
  • The following alert bar displays in Scout when image ingestion is in progress, warning users that new images are being added and therefore not all images may be available for task creation.

{}