Makes sm-api get the parameters for Bottle from config. This is useful in 2 places:
reloader=True can be used so that Bottle automatically reloads on file changes, without that setting also affecting production
host can be changed to 0.0.0.0 to make the API externally accessible (needed for Docker)
Adds missing dependencies to environment.yml. These dependencies were listed in setup.py. This may not be correct - I'm not sure whether the dependency lists in setup.py and environment.yml are meant to be used differently.
reloader=True
can be used so that Bottle automatically reloads on file changes, without that setting also affecting productionhost
can be changed to0.0.0.0
to make the API externally accessible (needed for Docker)setup.py
. This may not be correct - I'm not sure whether the dependency lists insetup.py
andenvironment.yml
are meant to be used differently..pytest_cache
to.gitignore