README
Retrieve plugin for dtool-lookup-server using mongodb
To install the dtool-lookup-server-retrieve-plugin-mongo package.
cd dtool-lookup-server-retrieve-plugin-mongo
python setup.py install
To configure the connection to the mongo database.
export RETRIEVE_MONGO_URI="mongodb://localhost:27017/"
export RETRIEVE_MONGO_DB="dtool_lookup_server"
export RETRIEVE_MONGO_COLLECTION="datasets"
Testing
Testing requires a minimal dtool-lookup-server
installation including a
functional search plugin, i.e.
pip install dtool-lookup-server
pip install dtool-lookup-server-search-plugin-mongo
Run tests from within repository root with pytest
.