Closed Zebreu closed 9 months ago
Will add detailed instructions soon, the four steps are:
docker run --network host dkroutingtool:dev /opt/conda/bin/python src/py/server.py
curl -X "POST" "localhost:5001/provide_files" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "files=@local_data/config.json"
curl http://localhost:5001/get_solution
curl -o download.zip http://localhost:5001/download
curl -X "POST" "localhost:5001/adjust_solution" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "files=@download/manual_edits/manual_routes_edits.xlsx"
Will add detailed instructions soon, the four steps are:
docker run --network host dkroutingtool:dev /opt/conda/bin/python src/py/server.py
curl -X "POST" "localhost:5001/provide_files" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "files=@local_data/config.json"
curl http://localhost:5001/get_solution
curl -o download.zip http://localhost:5001/download
curl -X "POST" "localhost:5001/adjust_solution" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "files=@download/manual_edits/manual_routes_edits.xlsx"