Addon:MongoDB
This is a Third-party Addon. Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker |
The MongoDB addon provides MongoDB database support for Gramps 5.x or greater.
MongoDB is an open-source document-oriented NOSQL database.
Prerequisites
Install the following packages:
- mongodb
- python3-pymongo
Start and enable the database service.
Creating a family tree
In the "Family Tree" tab of the Preferences, set the "Database backend" to "MongoDB".
Enter the host and port if using anything other than the defaults.
In the Family Tree Manager, click "New" and enter a family tree name.
Click the "Load Family Tree" button.
Create or import some data.
Viewing a database using mongo
From the command line type:
$ mongo
At the prompt type:
> show dbs
You should see your family tree listed.
> use Family_Tree_1
> show collections
> db.person.find()
Now you should see some data.