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.

  1. Set default timezone in php.ini

Install TNG

  1. Download most recent version from the TNG site (purchase required)
  2. 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;
  1. Load readme.html in browser and run through Express install
  2. Open site in browser

Upload gedcom from MacFamilyTree

  1. Export GEDCOM file from MacFamilyTree including media ensuring to specify Line feed format "Unix"
  2. Run scripts to reassign index numbers for FAMS (Family), FAMC (Family), INDI (Individual), SOUR (Sources) types and to inline the notes
  3. Run import the first time to import the Custom Event Types
  4. Run import again to import the data
    alt
  5. Increase max image upload size in php.ini from 2Mb to 10Mb.
  6. Import media on the Media > Upload tab