Skip to content

dwdyer/familytree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc0c739 · Mar 7, 2025
Aug 3, 2024
Sep 11, 2021
Mar 4, 2017
Dec 22, 2018
Oct 19, 2023
Jan 22, 2010
Sep 11, 2021
May 31, 2015
Dec 22, 2018
Mar 7, 2025
Jan 3, 2021
Sep 11, 2021
Dec 22, 2018
Oct 19, 2023

Repository files navigation

Family Tree Django Web App

Python Virtual Environment

This project requires Python 3.10 or later.

mkdir ~/virtualenv
virtualenv -p <path_to>/python3 ~/virtualenv/familytree
. ~/virtualenv/familytree/bin/activate

Before installing the requirements, ensure the pre-requisites for Pillow (a Python imaging library) are satisfied. On OS X run the following command to ensure X11 headers are available (assumes Xcode is installed):

xcode-select --install

On Ubuntu, install these libraries first to ensure JPEG support is included:

sudo apt-get install libfreetype6-dev libjpeg62 libjpeg62-dev libpng-dev

Then install the project-specific Python libraries:

pip install -r ~/familytree/requirements.txt

Database Setup (MySQL)

CREATE DATABASE familytree CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'familytree'@'localhost' IDENTIFIED BY '<db_password>';
GRANT ALL PRIVILEGES ON familytree.* TO 'familytree'@'localhost';

Django Settings

cp secret_settings.template secret_settings.py

Edit secret_settings.py to provide your own OpenCage, MapBox and Dropbox API keys.