Table of Contents
This document describes how to setup a test environment for the postprocessing operations implemented in the seeSea project.
via https
git clone https://github.com/OpenSeaMap/seesea-deployment.git cd seesea-deployment
via ssh
git clone [email protected]:OpenSeaMap/seesea-deployment.git cd seesea-deployment
create a file with name .env and insert following variables:
POSTGRES_USER=admin POSTGRES_PASSWORD=admin POSTGRES_HOST=postgis POSTGRES_PORT=5432 [email protected] PGADMIN_DEFAULT_PASSWORD=alkufdh7
Note: do not commit that file into github repository.
docker compose exec postprocess bash
cd /seesea git checkout remotes/origin/stevo-dev ./volumes/postprocess/seesea mvn -f net.sf.seesea.aggregator/pom.xml -Dmaven.repo.local=/.repository -X clean install # deploy to directory /app/postprocess 10_scripts/deploy_app.sh
The following command - creates the databases osmapi and depth - apply the database schema for osmapi and depth - create database user osm and osmapi
10_scripts/resetdb.sh