FamilyTreeGuide
Guide · Run it yourself

Run FamilyTree on your own server

Free and open source. Shared hosting, a VPS or Docker, in about five minutes. · 4 min read

FamilyTree is open source under the AGPL-3.0 licence. The code is on GitHub, and this site runs the same code.

What you need

Install

  1. Download the code from GitHub and upload the public_html folder to your web space.
  2. Open https://your-site/install/. It checks the server, connects to MySQL or makes a SQLite file, creates the tables, and makes your account and first tree.
  3. That's it. The installer locks itself afterwards.

With Docker

git clone https://github.com/ravirahul/familytree
cd familytree
docker compose up -d
# then open http://localhost:8080/install/

Upgrading

The weekly job

Once a week, cron.php sends the family email, makes a backup of every tree (the last 8 are kept) and clears out old data. Add a cron job in your hosting panel, Monday morning:

php /home/you/public_html/cron.php weekly

Or set CRON_KEY in .env and call https://your-site/cron.php?key=… from any web cron service.

Upgrading the files

Upload the new files over the old ones, keeping your .env, storage/ and admin/uploads/. On MySQL, run any new files in install/upgrades/ once. On SQLite, the app brings the tables up to date itself.