Skip to content

Running locally

henrythasler edited this page Mar 14, 2020 · 1 revision

prerequisites

run a postgres server

docker run --rm -ti -p 5432:5432 -v /media/mapdata/pgdata_mvt:/pgdata -v $(pwd)/postgis.conf:/etc/postgresql/postgresql.conf -e PGDATA=/pgdata img-postgis:0.9 -c 'config_file=/etc/postgresql/postgresql.conf'

serve static html content

  • cd html, ./serve.sh
  • in another terminal: npm run local
Clone this wiki locally