Skip to content

OpenSeaMap/seesea-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup test environment for postprocess

1. overview

This document describes how to setup a test environment for the postprocessing operations implemented in the seeSea project.

2. clone the sources

via https

git clone https://github.com/OpenSeaMap/seesea-deployment.git
cd seesea-deployment

via ssh

git clone git@github.com:OpenSeaMap/seesea-deployment.git
cd seesea-deployment

3. create file .env

create a file with name .env and insert following variables:

POSTGRES_USER=admin
POSTGRES_PASSWORD=admin
POSTGRES_HOST=postgis
POSTGRES_PORT=5432
PGADMIN_DEFAULT_EMAIL=admin@admin.com
PGADMIN_DEFAULT_PASSWORD=alkufdh7

Note: do not commit that file into github repository.

4. prepare build directory

./script/prepare_volumes.sh

5. build and start docker container

docker compose up -d --build

6. join docker container

docker compose exec postprocess bash

6.1. build and deploy the seeSea postprocessing application

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

6.2. Setup Databases

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

6.3. start processing

10_scripts/runpostprocessing.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published