Static site generator for creating a photo sharing website.
Go to file
mmcwilliams 2106cafbe2 Install s3-cli to ensure a version of s3cmd is installed and managed by npm 2024-01-06 14:35:04 -05:00
dist Build script instantiates the Template class and builds all templates 2024-01-06 00:27:34 -05:00
scripts Initial commit :P 2024-01-06 00:25:07 -05:00
sql Initial commit :P 2024-01-06 00:25:07 -05:00
src Build script instantiates the Template class and builds all templates 2024-01-06 00:27:34 -05:00
test Initial commit :P 2024-01-06 00:25:07 -05:00
views Work in progress 2024-01-06 01:15:58 -05:00
.gitignore Initial commit :P 2024-01-06 00:25:07 -05:00
LICENSE Initial commit :P 2024-01-06 00:25:07 -05:00
README.md Work in progress 2024-01-06 01:15:58 -05:00
default.env Work in progress 2024-01-06 01:15:58 -05:00
package-lock.json Install s3-cli to ensure a version of s3cmd is installed and managed by npm 2024-01-06 14:35:04 -05:00
package.json Install s3-cli to ensure a version of s3cmd is installed and managed by npm 2024-01-06 14:35:04 -05:00
tsconfig.json Initial commit :P 2024-01-06 00:25:07 -05:00

README.md

photosite

Static site generator for building a simple photo site.

Install

npm i

Create a .env file by copying the default.env file and modifying the values as needed.

Generate Site Data

The following command will sync the data with s3, generate metadata for each new photo and produce all required thumbnails required for the site.

npm run generate

Build Site

This command will build the website using the sqlite + photo data available at the time it is run.

npm run build