CaBot launch a MapService Web server if server data exists in CABOT_SITE dir.
- This server can be accessed only from localhost
- The script will use admin's default password
- The script will create editor role account 'editor' with password 'editor'
- Mongodb's data is stored on container disk. The data is not persistent and cleared every launch.
./server-launch.sh -d <data_dir>
./tools/server-data.sh -e <file>
- You can also export the data with Web editor (link to local server editor page)
- You need to use admin page to export attachments.zip (link to local server admin page)
- CABOT_SITE/ # CABOT_SITE is an identical directory name under ./cabot_sites dir
|
|- server_data/
| |
| |- MapData.geojson # exported route data (editor.jsp)
| |- attachments # unzip exported attachments.zip file (admin.jsp) into this dir
| |- server.env # server environment variables
|
|- config/config.yaml # set values for localhost
map_server_host: localhost:9090/map
protocol: http