This repository contains the necessary files to spin up a dockerized OSRM backend service for Michigan.
You need to have Docker installed. You can always just build the image yourself if you don't want to install Docker Compose as well.
docker-compose build
docker-compose up
To test, head to http://localhost:8080/route/v1/driving/-83.7778416,42.2542447;-83.7401024,42.2787389?steps=true. If you get something back, it works.
This is a memory hog. Roughly takes 2GB solo, just for the single state. Midwest takes 16GB in comparison. Also initial startup can take upwards of 30-40 minutes depending on your memory.
(in progress)
- Perform the Set Up instructions; have the container running
source venv/bin/activate && pip install -r requirements.txt
source set_env.sh
# get the API keys from a CSDT developerpytest .
# all tests should pass