Skip to content

JodyZ0203/status

 
 

Repository files navigation

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.

About

WATonomous server status page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.2%
  • HTML 31.2%
  • CSS 1.3%
  • Shell 0.3%