File tree Expand file tree Collapse file tree 5 files changed +5693
-4972
lines changed
Expand file tree Collapse file tree 5 files changed +5693
-4972
lines changed Original file line number Diff line number Diff line change 1616 - name : Set up Node.js
1717 uses : actions/setup-node@v2
1818 with :
19- node-version : " lts/hydrogen "
19+ node-version : " lts/krypton "
2020
2121 - name : Navigate to website folder
2222 working-directory : ./website
Original file line number Diff line number Diff line change 1+ lts/krypton
Original file line number Diff line number Diff line change 22
33This website is built using [ Docusaurus] ( https://docusaurus.io/ ) , a modern static website generator.
44
5+ ## Quick Start
6+
7+ First, ensure you're using the correct Node.js version:
8+
9+ ``` bash
10+ nvm install
11+ nvm use
12+ ```
13+
514### Installation
615
716```
8- $ yarn
17+ npm install
918```
1019
1120### Local Development
1221
1322```
14- $ yarn start
23+ npm start
1524```
1625
1726This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1827
1928### Build
2029
2130```
22- $ yarn build
31+ npm run build
2332```
2433
2534This command generates static content into the ` build ` directory and can be served using any static contents hosting service.
@@ -29,13 +38,13 @@ This command generates static content into the `build` directory and can be serv
2938Using SSH:
3039
3140```
32- $ USE_SSH=true yarn deploy
41+ USE_SSH=true npm run deploy
3342```
3443
3544Not using SSH:
3645
3746```
38- $ GIT_USER=<Your GitHub username> yarn deploy
47+ GIT_USER=<Your GitHub username> npm run deploy
3948```
4049
4150If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the ` gh-pages ` branch.
You can’t perform that action at this time.
0 commit comments