Skip to content

camptocamp/demo_geomapfish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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