This repository contains general setup scripts when the platform is installed. All the paths are relative to the project folder.
- Copy & Paste the 'settings-sample.json' into './config' folder and rename it to 'settings.json'
cp setup/importer/settings-sample.json importer/config/settings.json
- Modify this settings.json specifying source and temp folders
importer/config/settings.json
- Requires an api docker image
cd setup/api
./build.sh
- Requires a public_html directory
api/public_html
- Mounted in the docker container as
api/public_html:/src/public_html
- Requires a geoserver docker image
cd setup/geoserver
./build.sh
- Requires a gsdata directory
geoserver/gsdata
- Mounted in the docker container as
geoserver/gsdata:/opt/geoserver/data_dir
For the DELWP instance of this application the layer, indicator, and settings configuration is kept in a separate repository.
From the interface folder:
cd ../interface
Build the application:
yarn run build
Copy the build files into the API public HTML folder:
cp build/ ../api/public_html/