···
1
-
# Astro Starter Kit: Basics
4
-
bun create astro@latest -- --template basics
7
-
> ๐งโ๐ **Seasoned astronaut?** Delete this file. Have fun!
9
-
## ๐ Project Structure
11
-
Inside of your Astro project, you'll see the following folders and files:
16
-
โ โโโ favicon.svg
18
-
โย ย โโโ assets
19
-
โย ย โย ย โโโ astro.svg
20
-
โย ย โโโ components
21
-
โย ย โย ย โโโ Welcome.astro
22
-
โย ย โโโ layouts
23
-
โย ย โย ย โโโ Layout.astro
24
-
โย ย โโโ pages
25
-
โย ย โโโ index.astro
26
-
โโโ package.json
29
-
To 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/).
33
-
All commands are run from the root of the project, from a terminal:
35
-
| Command | Action |
36
-
| :------------------------ | :----------------------------------------------- |
37
-
| `bun install` | Installs dependencies |
38
-
| `bun dev` | Starts local dev server at `localhost:4321` |
39
-
| `bun build` | Build your production site to `./dist/` |
40
-
| `bun preview` | Preview your build locally, before deploying |
41
-
| `bun astro ...` | Run CLI commands like `astro add`, `astro check` |
42
-
| `bun astro -- --help` | Get help using the Astro CLI |
44
-
## ๐ Want to learn more?
46
-
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).