Configuration

greatgramps is configured using a YAML file.

Create a config.yml pointing at your GRAMPS database and listing the GRAMPS IDs of the root people you want to browse the tree as:

db_path: /path/to/your/grampsdb/xxxxxxxx
roots:
- I0001
- I0002

The location of the config file must be set with an environment variable:

GREATGRAMPS_CONFIG=config.yml

Config file reference

Relative paths are resolved relative to the config file’s directory.

Key

Required

Default

db_path

yes

roots

yes

output_dir

no

www

ancestry_tree_id

no

templates_dir

no

static_dir

no

nav_pages

no

[people, places, events, census, cemeteries, birthdays, surnames]

site_title

no

Family tree

db_path

Path to your GRAMPS sqlite database directory.

roots

GRAMPS IDs of the people to build root views for.

output_dir

Directory to write the built site into. Defaults to www.

ancestry_tree_id

Ancestry.com tree ID, used to generate profile links for people in the tree.

templates_dir

Directory of custom Chameleon templates. Any template found here takes precedence over the bundled one of the same name. See Templates.

static_dir

Directory of custom static files (CSS etc.). Files here are copied into the output on top of the bundled ones. See Templates.

site_title

Title used in the HTML <title> and the <h1> on the top-level index page. Defaults to Family tree:

site_title: The Nuttall Family