Datadive September 2023
Pre-releaseThis release offers some more robustness features and a preview of using HTTP requests to communicate with the routing tool.
Super quick instructions:
Install yq and docker.
sh s_build_docker_dev.sh
docker run --network host dkroutingtool:dev /opt/conda/bin/python src/py/server.py
Then in a different terminal:
curl -X "POST" "localhost:5001/provide_files" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "files=@local_data/customer_data.xlsx" -F "files=@local_data/config.json" -F "files=@local_data/extra_points.csv"
curl http://localhost:5001/get_solution
curl -o download.zip http://localhost:5001/download
A file representing a small area is attached, edit the url in build_parameters.yml with:
geofabrik-url: https://github.com/datakind/dk-routing/releases/download/datadive_2023/Brooklyn.osm.pbf