This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
unifi-cam-proxy/docs/README.md

44 lines
743 B
Markdown
Raw Normal View History

2024-03-02 11:37:04 +00:00
# Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
## Installation
```sh
yarn
```
## Local Development
```sh
yarn 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
```sh
yarn build
```
This command generates static content in the `build` directory.
It can then be served using any static content hosting service.
## Deployment
Using SSH:
```sh
USE_SSH=true yarn deploy
```
Not using SSH:
```sh
GIT_USER=<Your GitHub username> yarn deploy
```
If you're using GitHub pages, this command is a convenient way to build and push to the `gh-pages` branch.