No description
Find a file
2020-01-21 09:52:21 +01:00
.tx translate via i18next 2019-02-26 18:02:02 +01:00
css Improve distance markers a bit (#243) 2019-12-13 12:44:24 +01:00
js Fix "Layer not found: route-quality" error msg (ignore built-in layers) 2020-01-08 19:13:15 +01:00
layers Update JOSM layers after updating Maps Wiki 2019-12-16 12:27:40 +01:00
locales Update translations 2020-01-21 09:52:21 +01:00
resources/standalone Add standalone run.sh and configure localhost 2019-12-30 20:52:55 +01:00
.eslintignore Add eslint 2019-11-03 14:29:26 +01:00
.eslintrc.json Add eslint 2019-11-03 14:29:26 +01:00
.gitignore Add gulp task to generate a standalone release zip from brouter repo 2019-12-19 21:27:31 +01:00
.prettierignore Bump gulp to version 4.0.2. 2019-06-20 17:26:18 +02:00
.prettierrc Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
.travis.yml Setup Travis CI to run build in release mode 2019-05-23 12:09:11 +02:00
CHANGELOG.md Update changelog for 0.11.0 2020-01-15 16:40:50 +01:00
config.template.js Add standalone run.sh and configure localhost 2019-12-30 20:52:55 +01:00
gulpfile.js Add standalone run.sh and configure localhost 2019-12-30 20:52:55 +01:00
index.html Add hints and feedback for optional layers tree usage (#263) 2019-12-06 09:31:55 +01:00
keys.template.js Add prettier and reformat code 2019-05-17 20:55:39 +02:00
LICENSE Update copyright date 2018-09-08 19:59:50 +02:00
package.json Update leaflet-routing to fix regression when deleting first marker 2020-01-09 12:01:18 +01:00
README.md Update readme installation instructions for standalone zip 2020-01-17 12:25:01 +01:00
yarn.lock Update leaflet-routing to fix regression when deleting first marker 2020-01-09 12:01:18 +01:00

brouter-web

Web client (by @nrenner and contributors) for the BRouter routing engine (by @abrensch). Work in progress.

Instances:

This repository is only about the frontend. For the server/backend, BRouter routing engine, Android app, profiles, brouter.de site, see:
https://github.com/abrensch/brouter

More information:
https://brouter.de

Contact

General BRouter discussions/questions, support:

Translating

Translations are managed using the Transifex platform. After signing up, you can go to BRouter's project page, select a language and click Translate to start translating.

Installation

As an alternative to the above online version, the standalone server of BRouter can also be run on your local desktop.

Install standalone zip (client and server)

  1. download and unzip latest standalone archive (brouter-web-standalone.<version>.zip) from https://github.com/nrenner/brouter-web/releases e.g. for Linux (replace ~/opt/ with your preferred install directory and 0.11.0 with latest version):

        mkdir ~/opt/brouter
        cd ~/opt/brouter
        wget https://github.com/nrenner/brouter-web/releases/download/0.11.0/brouter-web-standalone.0.11.0.zip
        unzip brouter-web-standalone.0.11.0.zip
        chmod +x ./run.sh ./standalone/local.sh
    
  2. download one or more data file(s) (rd5) into segments4 directory

Configure BRouter-Web

In the brouter-web subdirectory:

  1. copy config.template.js to config.js
  2. add your API keys (optional)
    copy keys.template.js to keys.js and edit to add your keys

Run

  1. start ./run.sh

Build

Dependencies

Requires Node.js and Yarn.

Install

yarn

Build

yarn build #for release
yarn build debug #for development

Develop

yarn serve

License

Copyright (c) 2018 Norbert Renner and contributors, licensed under the MIT License (MIT)

Credits and Licenses