Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.4 KB

README.rst

File metadata and controls

52 lines (34 loc) · 1.4 KB

GeoMapFish demo project

Read the Documentation

Checkout

git clone [email protected]:camptocamp/demo_geomapfish.git
cd demo_geomapfish

Build

Follow the README of https://github.com/camptocamp/geospatial-ci-pass#install-gopass-locally to install gopass and init gopass with the store gs/ci. Then run:

make secrets
./build

Run locally

docker-compose up -d

The demo is accessible at https://localhost:8484/ or (https://localhost:8484/<interface>)

Notes

If you use the default database (as configured in the env.project file), you must enable the Camptocamp VPN.

If you modify the content of the geoportal folder and want to use these changes, you must comment this line to use the correct image with you local composition:

image: camptocamp/geomapfish-geoportal:${DOCKER_TAG}

Backup database

./build
scripts/db-backup --arg=--schema='edit' edit.backup
scripts/db-backup --arg=--schema='edit21781' edit21781.backup
scripts/db-backup --arg=--schema='geodata' geodata.backup
scripts/db-backup --arg=--schema='geodata21781' geodata21781.backup
scripts/db-backup --arg=--schema='main_2_7' main_2_7.backup
scripts/db-backup --arg=--schema='static_2_7' static_2_7.backup