简体   繁体   中英

Setting up OSRM (Open Source Routing Machine) on Heroku

Has anyone had luck building and running a OSRM instance in Heroku? I am looking for a cloud-based solution where I can serve my mobile app. Their wiki page https://github.com/Project-OSRM/osrm-backend/wiki/Building-and-Running-OSRM-on-Heroku exists but has no information written yet.

Any help or hints on how to set it up in Heroku would be appreciated.

Thanks!

The site http://jpizarrom.github.io/osm-chile/ is using osrm in heroku [1]

You can build osrm on Ubuntu 14.04 LTS [2]

then make a buildpack with the binary osrm-routed, install the dependencies and download the data files from amazon s3.

Finally you add to the Procfile

web: osrm-routed -c chile-car.conf car/chile-latest.osrm -p $PORT

[1] bicycle: ' http://osrm-chile-bicycle.herokuapp.com/viaroute '

[2] github.com/Project-OSRM/osrm-backend/wiki/Deployment-using-Chef

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM