WIP: Cycling map with automatic routing, screenshots and much more.
Find a file
dependabot[bot] 653a22217b
Bump node-sass from 5.0.0 to 7.0.0
Bumps [node-sass](https://github.com/sass/node-sass) from 5.0.0 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v5.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 00:19:51 +00:00
docker/www copying build, not dist 2021-04-08 11:40:08 +07:00
osrm osrm startup helpers added 2018-08-27 15:51:26 +07:00
public added favicon 2021-04-08 15:13:04 +07:00
src fixed stickers scroll 2021-08-14 09:27:30 +07:00
.drone.yml fixed yaml file 2021-10-18 15:47:36 +07:00
.env.example added create-react-app 2021-04-08 10:35:39 +07:00
.gitignore cleaned providers list 2021-04-08 14:49:28 +07:00
.prettierrc separated map and user reducers 2019-12-30 21:01:01 +07:00
craco.config.js added create-react-app 2021-04-08 10:35:39 +07:00
custom.d.ts cleanup 2019-07-24 14:32:16 +07:00
docker-compose.yml added ci-cd files 2021-04-08 09:44:13 +07:00
package-lock.json Bump node-sass from 5.0.0 to 7.0.0 2022-02-11 00:19:51 +00:00
package.json Bump node-sass from 5.0.0 to 7.0.0 2022-02-11 00:19:51 +00:00
README.md removed backend part 2020-03-20 17:11:36 +07:00
tsconfig.json fixed typescript errors 2021-04-08 16:25:25 +07:00
tsconfig.paths.json added create-react-app 2021-04-08 10:35:39 +07:00
yarn.lock Bump node-sass from 5.0.0 to 7.0.0 2022-02-11 00:19:51 +00:00

Bicycle routes map editor

Bicycle routes app with automatic routes, map screenshots, stickers and other features.

See it in action: Demo

Prerequisites

node, ts-node, osrm-server

Installing

First, download and install the project

git clone https://github.com/muerwre/orchidMap.git
cd orchidMap
npm i

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.

Next edit ./config/frontend.js and specify OSRM url there. By default, OSRM starts at https://localhost:5001/

Common setup

Look at /config/ folder, there's backend and frontend .example.js files, just rename them to .js only.

Client

Configs are placed in ./config/frontend.js

For development launch npm start and visit http://localhost:8000/

For production launch npm build, the output will be placed at ./dist folder, you should configure your http server to serve index html from that folder.