I grabbed info on setting up the server from here https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/
I installed Yarn in order to install bootstrap.
Install Justified Gallery and make sure the directory looks like this:
imagegallery/Justified-Gallery/jquery.justifiedGallery.min.js
imagegallery/Justified-Gallery/justifiedGallery.min.css
Install Swipebox and make sure the directory looks like this:
swipebox/lib/jquery-2.1.0.min.js
swipebox/src/js/jquery-swipebox.min.js
swipebox/src/css/swipebox.min.css
swipebox/src/img/icons.png
swipebox/src/img/icons.svg
swipebox/src/img/icons.gif