From 1529544b4b73e25850eb01aa8ed5ac68e3cf6c24 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Tue, 13 May 2014 22:19:03 +0200 Subject: [PATCH] add installation to readme --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10225d2..3125273 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,27 @@ http://brouter.de/brouter-web/ ## Installation -TODO +As an alternative to the above online version, the standalone server of BRouter can also be run on your local desktop. -* Client URL for BRouter standalone server running on your local desktop: -http://nrenner.github.io/brouter-web/ +### Install + +1. download and unzip latest [BRouter revision](http://brouter.de/brouter/revisions.html) +e.g. for Linux (replace ``~/opt/`` with your preferred install dir and ``0_9_9`` with latest version): + + mkdir ~/opt/brouter + cd ~/opt/brouter + wget http://brouter.de/brouter_bin/brouter_0_9_9.zip + unzip brouter_0_9_9.zip + chmod +x ./standalone/server.sh +fix line endings with ``fromdos`` or ``dos2unix`` (might need to be installed first) + + fromdos ./standalone/server.sh +2. download one or more [data file(s)](http://brouter.de/brouter/segments2/) (rd5) into ``segments2`` dir + +### Run + +1. start server in the ``standalone`` directory with ``./server.sh`` or ``server.cmd`` (Windows) +2. open http://nrenner.github.io/brouter-web/ ## License