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
Key |
Required |
Default |
Description |
|---|---|---|---|
|
yes |
— |
Path to your GRAMPS sqlite database directory |
|
yes |
— |
GRAMPS IDs of the people to build root views for |
|
no |
|
Directory to write the built site into |
|
no |
— |
Ancestry.com tree ID, used to generate profile links |
|
no |
— |
Directory of custom Chameleon templates |
|
no |
— |
Directory of custom static files (CSS etc.) |
|
no |
|
Which pages to show in the nav bar, and in what order |
|
no |
|
Title used in the HTML |
Relative paths are resolved relative to the config file’s directory.
The nav_pages list controls which links appear in the nav bar alongside Me, and in what
order. Choose any subset of people, places, events, census, birthdays,
surnames:
nav_pages:
- people
- events
- surnames
By default, the top-level index page (listing the available roots) is titled “Family tree”. Set
site_title to override it:
site_title: The Nuttall Family