Fixed readme

This commit is contained in:
muerwre 2018-08-27 15:59:26 +07:00
parent eb091cc1a4
commit dcd8a341a1

View file

@ -1,8 +1,28 @@
# Bicycle routes map editor # Bicycle routes map editor
Makes automated routing with OSRM and captures route screenshots. Bicycle routes app with automatic routes, map screenshots, stickers and other features.
## Installation (in case you've forgot) ## Prerequisites
npm, php, imagemagick, osrm-server
### Installing frontend
First, download and install the project
``` ```
git clone https://github.com/muerwre/orchidMap.git
cd orchidMap
npm i npm i
npm start npm start
``` ```
### Setting up OSRM
Install OSRM server as written here: https://github.com/Project-OSRM/osrm-backend
Specify country and region in osrm/prepare_maps.sh or download .pbf file from https://download.geofabrik.de/ manually.
After starting ./prepare_maps you'll get parsed .osrm files for Open Source Routing Machine server.
Next you need to edit start_server.sh to specify address, port for server and path to parsed files.
After that run start_server.sh in screen or by the way you feel comfortable.
### Configuring backend
Comming soon...