Here’s an example of how this gallery looks…
https://jimthoburn.github.io/photo-gallery/
-
Install Ruby and Jekyll
-
Install Node.js and NPM
-
Run this command to install the dependencies for this project
npm install
- Choose your images and save them with numbers for the names. For example…
1.jpg
2.jpg
3.jpg
- Place your images in the images/original folder
/images/original/1.jpg
/images/original/2.jpg
/images/original/3.jpg
- Update the config file with the name, date and number of images for your gallery.
title: Learn to Code LA
date: September 14, 2016
num_photos: 3
- Run this command to generate and serve the website
npm start
-
View your gallery at http://localhost:4000
-
When you’re ready to share it, upload the contents of the
_site
folder to your favorite web host!
You can also use GitHub pages.