Install TNG locally to macOS
Set up AMP
References:
Part 1: https://getgrav.org/blog/macos-sierra-apache-multiple-php-versions
Part 2: https://getgrav.org/blog/macos-sierra-apache-mysql-vhost-apc
Also: https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/
Follow instructions to ensure there is a working Apache, PHP and MySql (or MariaDB) environment.
- Set default timezone in php.ini
Install TNG
- Download most recent version from the TNG site (purchase required)
- Create new database
mysql -u root -p
e.g.
CREATE DATABASE newdb;
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
- Load readme.html in browser and run through Express install
- Open site in browser
Upload gedcom from MacFamilyTree
- Export GEDCOM file from MacFamilyTree including media ensuring to specify Line feed format "Unix"
- Run scripts to reassign index numbers for FAMS (Family), FAMC (Family), INDI (Individual), SOUR (Sources) types and to inline the notes
- Run import the first time to import the Custom Event Types
- Run import again to import the data
- Increase max image upload size in php.ini from 2Mb to 10Mb.
- Import media on the Media > Upload tab