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