add installation to readme

This commit is contained in:
Norbert Renner 2014-05-13 22:19:03 +02:00
parent 7848d26013
commit 1529544b4b

View file

@ -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