This commit is contained in:
Harvey committed 2021-11-24 16:08:08 +08:00
1 parent 133a29ce6e
commit f25f97b3ac
90 files changed
+2694 -1133

No files matched your search

+12 -12
View File
@@ -2,32 +2,32 @@
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
### Installation
## Installation
```
$ yarn
```console
yarn install
```
### Local Development
## Local Development
```
$ yarn start
```console
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
## Build
```
$ yarn build
```console
yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
### Deployment
## Deployment
```
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```console
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.