Closed rajadain closed 6 years ago
Having a hard time getting this setup because of some weird mismatch between the pipenv and the required requests module.
Now that we've got multiple dependencies it seems like it'd benefit from locking them down to ensure that developers can install everything with a single command -- setup
probably -- and also have everything installed to run the benchmark
script. Would also benefit from updating the README.
That work may be out of scope for what's here, though.
If you have pipenv
installed (you can do brew install pipenv
), you can just run ./scripts/setup
which will install all the right dependencies.
Updating the README is a legitimate need, but out of scope (and possibly budget).
If running the benchmark-sync
script, prefer doing so with pipenv
:
$ pipenv run ./benchmark-sync
But none of the pipenv
stuff should be required for testing this particular PR. curl
or http
should be enough.
Makes sense. I installed pipenv
after running setup
but didn't re-run setup
. Did that and was able to run benchmark --mapshed
Thank you both for taking a look!
Overview
Real-world MapShed requests also use these operations as part of their modeling, so to better reflect the reality of usage we add them to the example requests and responses.
Connects #83
Demo
Update benchmark:
Testing Instructions
server
In another tab, run:
and then do
git status
to ensure nothing changed.