All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run web:dev |
Starts local dev server at localhost:4321 |
npm run web:build |
Build your production site to ./dist/ |
npm run web:preview |
Preview your build locally, before deploying |
npm run cms:dev |
Starts Sanity local dev server at localhost:3333 |
npm run cms:deploy |
Build your cms site |
Feel free to check the Astro documentation.