Personal site
staging.colinozanne.co.uk
portfolio
astro
1# Astro Starter Kit: Basics
2
3```sh
4deno create astro@latest -- --template basics
5```
6
7> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
8
9## 🚀 Project Structure
10
11Inside of your Astro project, you'll see the following folders and files:
12
13```text
14/
15├── public/
16│ └── favicon.svg
17├── src
18│ ├── assets
19│ │ └── astro.svg
20│ ├── components
21│ │ └── Welcome.astro
22│ ├── layouts
23│ │ └── Layout.astro
24│ └── pages
25│ └── index.astro
26└── package.json
27```
28
29To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/).
30
31## 🧞 Commands
32
33All commands are run from the root of the project, from a terminal:
34
35| Command | Action |
36| :------------------------ | :----------------------------------------------- |
37| `deno install` | Installs dependencies |
38| `deno dev` | Starts local dev server at `localhost:4321` |
39| `deno build` | Build your production site to `./dist/` |
40| `deno preview` | Preview your build locally, before deploying |
41| `deno astro ...` | Run CLI commands like `astro add`, `astro check` |
42| `deno astro -- --help` | Get help using the Astro CLI |
43
44## 👀 Want to learn more?
45
46Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).