Skip to content

posm/posm-replay-client

Repository files navigation

POSM replay tool

Replay changes to OSM

Getting started

Setting up configuration

# Create an environment file
touch .env

The environment file should define these variables:

REACT_APP_API_SERVER_URL=http://localhost:6007/api/v1
REACT_APP_OSM_URL=http://localhost:6007/login/openstreetmap
REACT_APP_OSM_LAYER_URL="<url for local osm layer (this is optional)>"

Running locally

# Get dependencies
mkdir ./src/vendor
git clone https://github.com/posm/react-store ./src/vendor
git clone https://github.com/posm/re-map ./src/vendor

# Start dev server
yarn install
yarn start

You will also need to run posm-replay-server.

Building

yarn build