2022-10-27 19:38:26 -07:00
|
|
|
# Website
|
|
|
|
|
2024-04-15 22:26:12 -07:00
|
|
|
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
|
2022-10-27 19:38:26 -07:00
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
```
|
2024-05-17 13:49:23 -07:00
|
|
|
$ npm install
|
2022-10-27 19:38:26 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
### Local Development
|
|
|
|
|
|
|
|
```
|
2024-05-17 13:49:23 -07:00
|
|
|
$ npm run start
|
2022-10-27 19:38:26 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
```
|
2024-05-17 13:49:23 -07:00
|
|
|
$ npm run build
|
2022-10-27 19:38:26 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
|
|
|
|
|
|
|
### Deployment
|
|
|
|
|
|
|
|
Using SSH:
|
|
|
|
|
|
|
|
```
|
2024-05-17 13:49:23 -07:00
|
|
|
$ USE_SSH=true npm run deploy
|
2022-10-27 19:38:26 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
Not using SSH:
|
|
|
|
|
|
|
|
```
|
2024-05-17 13:49:23 -07:00
|
|
|
$ GIT_USER=<Your GitHub username> npm run deploy
|
2022-10-27 19:38:26 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
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.
|