File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- # Website
2
-
3
- This website is built using [ Docusaurus] ( https://docusaurus.io/ ) , a modern static website generator.
1
+ <p align =" center " >
2
+ <a href =" https://sdkman.io " >SDKMAN!</a > Website built using <a href =" https://docusaurus.io/ " >Docusaurus</a >, a modern static website generator.
3
+ </p >
4
+ <br />
4
5
5
6
### Installation
6
7
7
8
```
8
- $ yarn
9
+ $ npm i
9
10
```
10
11
11
12
### Local Development
12
13
13
14
```
14
- $ yarn start
15
+ $ npm start
15
16
```
16
17
17
18
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
18
19
19
20
### Build
20
21
21
22
```
22
- $ yarn build
23
+ $ npm run build
23
24
```
24
25
25
26
This command generates static content into the ` build ` directory and can be served using any static contents hosting service.
@@ -29,13 +30,13 @@ This command generates static content into the `build` directory and can be serv
29
30
Using SSH:
30
31
31
32
```
32
- $ USE_SSH=true yarn deploy
33
+ $ USE_SSH=true npm run deploy
33
34
```
34
35
35
36
Not using SSH:
36
37
37
38
```
38
- $ GIT_USER=<Your GitHub username> yarn deploy
39
+ $ GIT_USER=<Your GitHub username> npm run deploy
39
40
```
40
41
41
42
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.
You can’t perform that action at this time.
0 commit comments