Bun is the recommended package manager (instead of npm) and runtime (instead of node). However, You can use node and npm if you want.
The reason for recommending bun: it's faster. To install bun: visit bun.sh.
If you are using npm, replace bun
with npm
in the below commands.
Command | Action |
---|---|
bun install |
Installs dependencies |
bun run dev |
Starts local dev server at localhost:4321 |
bun run build |
Build your production site to ./dist/ |
bun run preview |
Preview your build locally, before deploying |
bun run astro ... |
Run CLI commands like astro add , astro check |
bun run astro -- --help |
Get help using the Astro CLI |
Whenever a commit is pushed or a PR is merged to the main branch, the website will be automatically published on moraexams.org in a few minutes. The site is hosted on Netlify.