update readme and project desc
This commit is contained in:
parent
fee817293a
commit
32ab59a93c
22
README.md
22
README.md
|
@ -1,7 +1,12 @@
|
||||||
# logging-center
|
# 极限日志分析中心
|
||||||
|
|
||||||
INFINI Logging Center
|
INFINI Logging Center
|
||||||
|
|
||||||
|
|
||||||
|
## 开发说明
|
||||||
|
|
||||||
|
### 开发环境准备
|
||||||
|
|
||||||
确保已经安装好`nodejs`(版本大于等于 8.5.0)环境:
|
确保已经安装好`nodejs`(版本大于等于 8.5.0)环境:
|
||||||
```sh
|
```sh
|
||||||
node -v
|
node -v
|
||||||
|
@ -13,17 +18,12 @@ npm -v
|
||||||
npm install -g cnpm --registry=https://registry.npm.taobao.org
|
npm install -g cnpm --registry=https://registry.npm.taobao.org
|
||||||
```
|
```
|
||||||
|
|
||||||
## 新增依赖包到本地
|
### 下载项目依赖包
|
||||||
```
|
|
||||||
cnpm install --save md5
|
|
||||||
```
|
|
||||||
|
|
||||||
## 下载依赖包
|
|
||||||
```
|
```
|
||||||
cnpm install
|
cnpm install
|
||||||
```
|
```
|
||||||
|
|
||||||
## 启动开发模式
|
### 启动开发模式
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cnpm run dev
|
cnpm run dev
|
||||||
|
@ -32,7 +32,7 @@ cnpm run dev
|
||||||
在浏览器中访问:[http://localhost:8000](http://localhost:8000)
|
在浏览器中访问:[http://localhost:8000](http://localhost:8000)
|
||||||
|
|
||||||
|
|
||||||
## 构建和部署
|
### 构建和部署
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cnpm run build
|
cnpm run build
|
||||||
|
@ -40,3 +40,7 @@ cnpm run build
|
||||||
|
|
||||||
执行该命令后会生成最终的 HTML、CSS 和 JS 到 `dist` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。
|
执行该命令后会生成最终的 HTML、CSS 和 JS 到 `dist` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。
|
||||||
|
|
||||||
|
### 新增项目依赖包
|
||||||
|
```
|
||||||
|
cnpm install --save md5
|
||||||
|
```
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "logging-center",
|
"name": "logging-center",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "极限科技日志统一分析管理平台",
|
"description": "极限日志分析中心",
|
||||||
"private": true,
|
"private": true,
|
||||||
"egg": {
|
"egg": {
|
||||||
"declarations": true
|
"declarations": true
|
||||||
|
|
Loading…
Reference in New Issue