Installing OCaml and Camlp5
Compiling GeneWeb requires the installation of OCaml and Camlp5.
Installing OCaml and Camlp5 through OPAM (OCaml preferred package manager) allows the installation of the two versions of OCaml needed for GeneWeb:
- Old GeneWeb versions (lower than 7.00) should be compiled with OCaml version 3.12.1.
- Starting at version 7.00, GeneWeb must be compiled with OCaml >4.02.
Camlp5 must be installed for each version of the compiler.
If your base has been built under an old version, it won't be compatible with bases built with new version: one should recover through the .gw format to migrate from one to the other.
When Ocaml and camlp5 are installed, you can clone GeneWeb repository to compile GeneWeb.
Under Windows using Cygwin
If you have Windows Powershell, this batch script will download/compile/install Cygwin/Opam/OCaml/Camlp5/Ocamfind/GeneWeb for you. Copy/paste on the command line with administrator rights:
powershell.exe -Command (new-object System.Net.WebClient).DownloadFile('https://gist.github.com/a2line/f134c88c80eafcf0411b38e32a0a7128/raw/','opamwin.bat') opamwin
Without Powershell, you have to download the batch file opamwin.bat and the right Cygwin setup x64 or x86 manually then just launch the script from the command line.
Under Linux
Tested on debian-8.2.0-i386-netinst.iso, to install opam/ocaml (4.02.3)/camlp5 (6.14)/ocamlfind (1.6.2):
apt-get install opam opam init opam update opam switch 4.02.3 opam install -y camlp5 ocamlfind eval 'opam config env'
If ocamfind install fail with opam, try installing pkg-config before with apt-get install pkg-config
, then retry.
GeneWeb Manual
- Download and install GeneWeb program under GNU/Linux, Mac OS X, Microsoft Windows, FreeBSD; on Mac OS X, Linux or Windows using Docker; or in CGI mode behind a web server.
- Understand GeneWeb server, homonym, consanguinity.
Use and manage genealogical databases
- Import Gedcom
.ged
or GeneWeb.gw
files with gwsetup or in command-line. - Update datas (add/remove individuals and families), merge duplicates, type dates.
- Use wikitext syntax, macros, keyboard shortcuts.
- Clean, recover, rename, save, archive a database.
- Merge and split multiples databases.
Technical annex
- Personalize CSS, header and trailer, templates, lexicon and declension.
- Configuration file
.gwf
(for templm), wizard notes, passwords for friends/wizards and access restrictions to databases. - Add images in notes, further remarks for experts.