This project entails building a family tree from scratch using django and html/css on the frontend.
A working demo can be seen here Working demo. This handles more than 800 family records over many generations. Also has an admin area for member management.
This is a hobby project, with no financial incentive.
- Create an SQL database (Postgres, MySQL, SQLite etc.) and create a settings.env file in the root directory. An example of settings.env will be:
(fill in appropriately)
SECRET_KEY=''
DB_PASSWORD="password"
DB_HOST="localhost"
DB_PORT="5432"
DB_USER=""
DB_NAME=""
- Run the following command on the command line to set the respective environement variables:
source setup.sh
- Create models and tables in your db with Django
python manage.py makemigrations
python manage.py migrate
- Start the django server
python manage.py runserver
- You can then populate your family tree on /admin