Front-end for frostbreak.org.
The back-end's code can be found here, though maybe one day it will be consolidated into this repo.
- Install Node.js
- Clone this repository
- Run
npm installin the root of the project - Run
npm run devto start the development server
The site is build with Astro, a static site generator that lets us build the site with a variety of techs (Vanilla HTML/CSS, React, Svelte, Vue, etc.) and deploy it as a static site.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
npm run lint |
Lint for formatting & a11y errors |
npm run lint:fix |
Lint and fix any fixable errors |