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.
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
).
A green checkmark beside your commit means that the workflow ran successfully:
A red X means that something went wrong:
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.