chore: update README.md with Quickstark
This commit is contained in:
parent
f43e453c7f
commit
b859156238
13
README.md
13
README.md
|
@ -34,6 +34,19 @@ INFINI Console is written in Golang, the installation package is very small, onl
|
|||
To learn more about Console, please visit: https://docs.infinilabs.com/console/
|
||||
|
||||
|
||||
## Quickstart
|
||||
|
||||
- Build [web](web/README.md) first.
|
||||
|
||||
```sh
|
||||
# init code base path
|
||||
mkdir -p $HOME/go/src/infini.sh && cd $_
|
||||
# build console
|
||||
make build
|
||||
cd bin && mkdir -p config && cp -rf ../config/{setup,*.tpl,*.json} .
|
||||
# run console
|
||||
./console
|
||||
```
|
||||
|
||||
## Community
|
||||
|
||||
|
|
|
@ -1,21 +1,19 @@
|
|||
## 运行环境
|
||||
## Running Env
|
||||
|
||||
```
|
||||
nvm install 16.17
|
||||
cnpm install npm@6.14.13
|
||||
nvm install 16.20.2
|
||||
npm install cnpm@9.2.0
|
||||
```
|
||||
|
||||
## 公共组件
|
||||
## Running
|
||||
|
||||
```shell
|
||||
cd src
|
||||
git clone https://git.infini.ltd:64443/infini/common-ui.git common
|
||||
```
|
||||
|
||||
## 运行
|
||||
|
||||
```shell
|
||||
npm install
|
||||
npm run build
|
||||
cnpm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
Loading…
Reference in New Issue