Skip to content

Commit b859156

Browse files
committed
chore: update README.md with Quickstark
1 parent f43e453 commit b859156

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ INFINI Console is written in Golang, the installation package is very small, onl
3434
To learn more about Console, please visit: https://docs.infinilabs.com/console/
3535

3636

37+
## Quickstart
38+
39+
- Build [web](web/README.md) first.
40+
41+
```sh
42+
# init code base path
43+
mkdir -p $HOME/go/src/infini.sh && cd $_
44+
# build console
45+
make build
46+
cd bin && mkdir -p config && cp -rf ../config/{setup,*.tpl,*.json} .
47+
# run console
48+
./console
49+
```
3750

3851
## Community
3952

web/README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
## 运行环境
1+
## Running Env
22

33
```
4-
nvm install 16.17
5-
cnpm install [email protected]
4+
nvm install 16.20.2
5+
npm install [email protected]
66
```
77

8-
## 公共组件
8+
## Running
99

1010
```shell
11-
cd src
12-
git clone https://git.infini.ltd:64443/infini/common-ui.git common
11+
cnpm install
12+
npm run dev
1313
```
1414

15-
## 运行
15+
## Build
1616

17-
```shell
18-
npm install
17+
```sh
1918
npm run build
20-
npm run dev
21-
```
19+
```

0 commit comments

Comments
 (0)