Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.43 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.43 KB

WATonomous Status

Still trying to see what this repo will be about. For now it's a barebones status page running on GitHub pages and using the healthchecks.io API. We can probably combine this with what's behind http://vm-status.watonomous.ca.

  • / is adapted from healthchecks-front. This only supports one Healthchecks.io project.
  • /all is adapted from healthchecks/dashboard. This supports multiple Healthchecks.io projects, but the UI is not as intuitive as / at first glance.

Development

To start a development server:

npm ci # install dependencies without updating them
npm run dev

Testing

To verify that the static export is working, do this in the root of the project:

npm run export
cd out
python3 -m http.server 8082

Then head to http://localhost:8082 to ensure that the changes are as expected.
Note: Go to http://localhost:8082/all.html to view to page to /all

Deployment

We deploy healthchecks-front by exporting the Next.js application as static HTML, then hosting it with GitHub Pages.

The HTML-generation process is currently automated with Github Actions. Any changes committed to main will trigger the deployment process.