Static website for the Computer Hardware Club at Oregon State University. The source lives in this repository under the club GitHub organization and is deployed to computerhardwareclub.org with GitHub Pages.
- Publish the public club website
- Keep club information, officer details, and contact links easy to update
- Give officers and contributors a documented, reviewable workflow for website changes
index.htmlandabout/index.html: site pagesstyles/main.css: site stylingscripts/site.js: front-end behaviorimages/: site assets404.htmland500.html: error pagesbuild.mjs: creates the deployabledist/directorytests/site-build.test.mjs: regression check for the static site bundle.github/: collaboration and deployment workflow filesdocs/site-maintenance.md: maintenance notes for club contributors
Prerequisite: Node.js 20 or newer.
npm test
npm run build
python3 -m http.server 8000Open http://localhost:8000 to preview the source site locally. npm run build generates dist/, which is the deployable GitHub Pages artifact.
GitHub Pages is configured to deploy from the Actions workflow in .github/workflows/deploy-pages.yml. The custom domain is set by CNAME.
The expected deployment flow is:
- Open a branch from
main. - Make the change and run
npm run verify. - Open a pull request.
- Merge after review.
- GitHub Actions rebuilds the site and deploys
dist/to Pages.
Start with CONTRIBUTING.md for contribution expectations and CODE_OF_CONDUCT.md for community standards.
dist/is generated and should not be edited by hand.node_modules/is local-only and is not part of the repository.- If the club wants a public open-source license, add one intentionally rather than guessing.