mirror of https://codeberg.org/pzp/pzp-wiki.git
34 lines
661 B
Markdown
34 lines
661 B
Markdown
# Website
|
|
|
|
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
|
|
|
|
### Installation
|
|
|
|
```
|
|
$ npm i
|
|
```
|
|
|
|
### Local Development
|
|
|
|
```
|
|
$ npm start
|
|
```
|
|
|
|
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
|
|
|
### Build
|
|
|
|
```
|
|
$ npm run build
|
|
```
|
|
|
|
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
|
|
|
### Deployment
|
|
|
|
```
|
|
$ npm run deploy
|
|
```
|
|
|
|
This builds and puts the built files into the `pages` branch and pushes it to codeberg which updates production.
|