This is my personal blog/web site written in Markdown and Astro using the Hello Astro starter as a template.
It is hosted on Github Pages and deployed via Github Action workflow.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
yarn |
Installs dependencies |
yarn dev |
Starts local dev server at localhost:3000 |
yarn build |
Build your production site to ./dist/ |
yarn preview |
Preview your build locally, before deploying |
yarn format |
Pretty print the source code |
yarn lint |
Check the source code for errors |
yarn astro ... |
Run CLI commands like astro add , astro preview |
yarn astro --help |
Get help using the Astro CLI |