I changed the docker directory to include two subdirectories: osrm and brouter.
And I added to the make file:
make brouter-data which clones the git directories for brouter and brouter-web, downloads the relevant data, adjusts config files, and builds the docker images.
make brouter-container which starts the brouter containers.
Then the front-end (brouter-web) should be available on http://127.0.0.1:8080 and the backend (brouter) at http://127.0.0.1:17777/brouter
I renamed the previous make commands for osrm to:
make osrm-data: preprocesses the osrm data
make osrm-container: starts the osrm containers
The RMarkdown file cycling_route_analysis_brouter.Rmd needs both the brouter backend (for routes) and osrm backend (for the isodistance polygon)
I changed the
docker
directory to include two subdirectories:osrm
andbrouter
.And I added to the make file:
make brouter-data
which clones the git directories for brouter and brouter-web, downloads the relevant data, adjusts config files, and builds the docker images.make brouter-container
which starts the brouter containers.Then the front-end (
brouter-web
) should be available on http://127.0.0.1:8080 and the backend (brouter
) athttp://127.0.0.1:17777/brouter
I renamed the previous make commands for osrm to:
make osrm-data
: preprocesses the osrm datamake osrm-container
: starts the osrm containersThe RMarkdown file
cycling_route_analysis_brouter.Rmd
needs both the brouter backend (for routes) and osrm backend (for the isodistance polygon)