updated readme
parent
1dd682118f
commit
d1bbffa8e2
@ -1,43 +1,21 @@
|
|||||||
# Astro Starter Kit: Minimal
|
# Meme AulaStud
|
||||||
|
|
||||||
```sh
|
Questo repository contiene il sito con la bacheca dei meme dell'AulaStud del DM
|
||||||
bun create astro@latest -- --template minimal
|
di Pisa. È un piccolo sito realizzato con [Astro](https://astro.build/).
|
||||||
```
|
|
||||||
|
|
||||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
|
||||||
|
|
||||||
## 🚀 Project Structure
|
## Development
|
||||||
|
|
||||||
Inside of your Astro project, you'll see the following folders and files:
|
Per eseguire il sito in locale, assicurati di avere
|
||||||
|
[Node.js](https://nodejs.org/) installato. Poi, esegui i seguenti comandi:
|
||||||
|
|
||||||
```text
|
```bash
|
||||||
/
|
$ bun install
|
||||||
├── public/
|
$ bun dev
|
||||||
├── src/
|
|
||||||
│ └── pages/
|
|
||||||
│ └── index.astro
|
|
||||||
└── package.json
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
Il sito sarà accessibile all'indirizzo `http://localhost:4321`.
|
||||||
|
|
||||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
|
|
||||||
|
|
||||||
Any static assets, like images, can be placed in the `public/` directory.
|
|
||||||
|
|
||||||
## 🧞 Commands
|
|
||||||
|
|
||||||
All commands are run from the root of the project, from a terminal:
|
|
||||||
|
|
||||||
| Command | Action |
|
|
||||||
| :------------------------ | :----------------------------------------------- |
|
|
||||||
| `bun install` | Installs dependencies |
|
|
||||||
| `bun dev` | Starts local dev server at `localhost:4321` |
|
|
||||||
| `bun build` | Build your production site to `./dist/` |
|
|
||||||
| `bun preview` | Preview your build locally, before deploying |
|
|
||||||
| `bun astro ...` | Run CLI commands like `astro add`, `astro check` |
|
|
||||||
| `bun astro -- --help` | Get help using the Astro CLI |
|
|
||||||
|
|
||||||
## 👀 Want to learn more?
|
## Deployment
|
||||||
|
|
||||||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
|
Per ora il sito viene deployato manualmente, chiedete a
|
||||||
|
[@aziis98](https://aziis98.com) se volete fare modifiche al sito.
|
||||||
|
|||||||
Loading…
Reference in New Issue