ftrojahn / geneweb-start

Starts GeneWeb 7.x in local docker container, importing database from .ged or .gw file

Home Page:https://github.com/geneweb/geneweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geneweb-start

Try out geneweb master as long as this PR hasn't been merged.

The setup has it's origin here:

geneweb/geneweb#1395 (comment)

The docker image is built here

Installation

Requirements

You should have installed docker and docker-compose. See the useful links section further down.

Get it

git clone https://github.com/ftrojahn/geneweb-start.git
cd geneweb-start

... or download the docker-compose.yml to a new directory, create sub directory data/ there.

Feel free to fork the repo and adjust to your needs.

Setup

If applicable, put your GeneWeb export file (.gw) OR your Gedcom file (.ged) in the folder data/ as database.gw OR database.ged.

If one of those files exist, the database in data/bases/database.gwb will be created. After the import, the file will be renamed to *.imported, so no reimport will take place eventually.

If neither file nor data/bases/database.gwb exists, an empty database will be created

You can put your settings into data/bases/database.gwf, templates, images, language files in data/etc/, data/lang etc.

Please, edit the docker-compose.yml to

  • set the default language

  • set the admin password (i.e. "wizard"/"magicien"), which will otherwise be autocreated: in this case you find it in data/wizard_passwd

  • have geneweb restarted automagically or not.

Start

to see the log:

docker-compose up

in background as daemon:

docker-compose up -d

Stop

docker-compose stop if run in daemon mode. Otherwise hit Ctrl+C

Useful links

About

Starts GeneWeb 7.x in local docker container, importing database from .ged or .gw file

https://github.com/geneweb/geneweb

License:MIT License