Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Retrieve plugin for dtool-lookup-server using mongodb

License

Notifications You must be signed in to change notification settings

jotelha/dserver-retrieve-plugin-mongo

 
 

Repository files navigation

README

Retrieve plugin for dserver using mongodb

To install the dserver-retrieve-plugin-mongo package.

cd dserver-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="dserver"
export RETRIEVE_MONGO_COLLECTION="datasets"

Testing

Testing requires a minimal dserver installation including a functional search plugin, i.e.

pip install dserver
pip install dserver-search-plugin-mongo

Run tests from within repository root with pytest.

About

Retrieve plugin for dtool-lookup-server using mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%