Skip to content

The service used by NachbarStrom to connect to OpenStreetMaps

Notifications You must be signed in to change notification settings

NachbarStrom/public-js-overpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup the environment

  • Setup your environment variables:
export OVERPASS_URL=url
export REVERSE_CODING_KEY=key
export REVERSE_CODING_URL=url
  • Run the setup bash script:
bash ./setup_ubuntu.sh

Run the server

  • Attached to the console:
yarn start src/server.js
  • Detached from the console:
nohup sudo --preserve-env yarn start src/server.js >>logs 2>>logs &
  • For development purposes (file changes trigger reload):
yarn dev

Testing

Runs the integration tests against the local machine, so the server must be up and running.

yarn test

Releases

No releases published

Packages

No packages published