Skip to content

arttuka/vaylaopas

Repository files navigation

Väyläopas

A web service for finding boating routes in Finland.

https://vaylaopas.fi

Development

Initialize mapserver

Download base map from openmaptiles.com, nautical charts from https://github.com/vokkim/rannikkokartat-mbtiles and put the mbtiles files in ./resources/openmaptiles/. Check that the filename of the base map matches the filename in ./resources/openmaptiles/styles/vaylaopas.json:15 and update the JSON file if necessary.

Start mapserver: docker-compose up -d mapserver

Initialize DB

Start database: docker-compose up -d db

Import lane data: ./scripts/import.sh

Run development server

Start development server: npm run watch. The server will run at localhost:8081.

Automatically run tests: npm run test:watch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published