themeetinghouse / web

New Meeting House Website
https://beta.themeetinghouse.com
11 stars 5 forks source link

The Meeting House Website

Local Development

Ensure you have the LTS version of Node.js on your system: https://nodejs.org

$ git clone https://github.com/themeetinghouse/web.git
$ cd web
$ npm install
$ npm start

Open https://localhost:3006 in your browser.

Sync Prod via GitHub Actions

Assets such as images and JSON files containing content and data are found in the public/static directory. When changes are pushed to this path on the master branch, the files should automatically synchronize with the production S3 hosting bucket and create a CloudFront invalidation via GitHub Actions (see .github/workflows/sync-prod.yml).

Ensuring Sync Prod was successful

A green checkmark beside your commit means that the workflow ran successfully:

A red X means that something went wrong:

Running Sync Prod manually

If you don't see a green checkmark or a red X, the workflow did not run:

If this happens, you can go to https://github.com/themeetinghouse/web/actions/workflows/sync-prod.yml and trigger the workflow manually.

Open the dropdown, then click the green button that says "Run workflow":

Note: only authorized users can manually trigger the workflow in this repository.