Replay changes to OSM
# 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)>"
# 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.
yarn build