Skip to main content

Search plugin for dtool-lookup-server using mongodb

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page