Skip to content

Python project for managing ancestry trees (including re-use of persons across trees and pdf export)

Notifications You must be signed in to change notification settings

mrommel/SmartAncestry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartAncestry

goto web app root

cd ~/Prog/SmartAncestry/smartancestry

Installation

pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py

Creating a virtual environment

python3 -m pip install --user virtualenv python3 -m venv vsmartancentry

source bin/activate

brew install node

sudo pip3 install -r requirements.txt https://www.princexml.com/doc/9.0/installing/#macosx brew install cairo brew install libjpeg brew install graphviz npm i request npm i canvas

run web server

cd ~/Prog/SmartAncestry/smartancestry/ source vsmartancentry/bin/activate python3 manage.py runserver 7000

data migration

cd ~/Prog/SmartAncestry/smartancestry/ source vsmartancentry/bin/activate

python3 manage.py makemigrations data python3 manage.py sqlmigrate data 0007 python3 manage.py migrate deactivate

translations

installation

brew install gettext brew link gettext --force

translations

cd ~/Prog/SmartAncestry/smartancestry/ source vsmartancentry/bin/activate cd data python3 ../manage.py makemessages -l de -e html,txt,py -e xml translate with poedit python3 ../manage.py compilemessages

distributions

https://www.namenskarte.com/nachname/Name?

pdf generator

prince --no-author-style -s http://127.0.0.1:7000/static/data/style_print.css http://127.0.0.1:7000/data/ancestry/1/Kliemank -o Kliemank.pdf

todo

  • add images to ancestry.js / dot script

Links

Icons made by Freepik from www.flaticon.com

About

Python project for managing ancestry trees (including re-use of persons across trees and pdf export)

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published