Mirror of https://forge.levinkeller.de/levin/dorfarchiv.git
140869e5f8f8800ceb90c04a2f58ab0a1065b01a
| 1 | --- |
| 2 | sidebar_position: 5 |
| 3 | --- |
| 4 | |
| 5 | # Deploy your site |
| 6 | |
| 7 | Docusaurus is a **static-site-generator** (also called **[Jamstack](https://jamstack.org/)**). |
| 8 | |
| 9 | It builds your site as simple **static HTML, JavaScript and CSS files**. |
| 10 | |
| 11 | ## Build your site |
| 12 | |
| 13 | Build your site **for production**: |
| 14 | |
| 15 | ```bash |
| 16 | npm run build |
| 17 | ``` |
| 18 | |
| 19 | The static files are generated in the `build` folder. |
| 20 | |
| 21 | ## Deploy your site |
| 22 | |
| 23 | Test your production build locally: |
| 24 | |
| 25 | ```bash |
| 26 | npm run serve |
| 27 | ``` |
| 28 | |
| 29 | The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). |
| 30 | |
| 31 | You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). |