chore: update README.md with Quickstark

This commit is contained in:
luohoufu 2024-12-04 15:53:38 +08:00
parent f43e453c7f
commit b859156238
No known key found for this signature in database
GPG Key ID: 9D8E0A78772AB5A0
2 changed files with 24 additions and 13 deletions

View File

@ -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

View File

@ -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
```