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/
|
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
|
## Community
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,19 @@
|
||||||
## 运行环境
|
## Running Env
|
||||||
|
|
||||||
```
|
```
|
||||||
nvm install 16.17
|
nvm install 16.20.2
|
||||||
cnpm install npm@6.14.13
|
npm install cnpm@9.2.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## 公共组件
|
## Running
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd src
|
cnpm install
|
||||||
git clone https://git.infini.ltd:64443/infini/common-ui.git common
|
|
||||||
```
|
|
||||||
|
|
||||||
## 运行
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run build
|
||||||
|
```
|
Loading…
Reference in New Issue