Skip to content

Commit

Permalink
update 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
canghai908 committed Nov 14, 2022
1 parent dcb929f commit 77a790c
Show file tree
Hide file tree
Showing 30 changed files with 11,323 additions and 18,914 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ selenium-debug.log
*.njsproj
*.sln
.env.production.local
.drone.yml
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
English | [简体中文](./README.zh-CN.md)
[English](./README.md) | 简体中文

# zbxtable-web

ZbxTable front end
ZbxTable 前端页面

## Getting Started
## 开发

```
yarn install
yarn serve
```

Visit http://127.0.0.1:8080
访问 http://127.0.0.1:8080

## Build
## 构建

nodejs>10
环境:nodejs>10

构建

```
yarn install
yarn build
```

The built code will be stored in the web folder
构建后的代码默认会存放到 web 文件夹

## Deploy
## 部署

It is recommended to use nginx, the configuration file is as follows:
建议使用 nginx, 配置文件如下

```
server {
Expand All @@ -45,10 +47,10 @@ server {
}
```

Copy the generated front-end files to the /usr/local/zbxtable/web directory
拷贝生成的前端文件到/usr/local/zbxtable/web 目录

```
cp -a web/* /usr/local/zbxtable/web
```

8084 is the zbxtable back-end program port, restart nginx to access the system using http://ip:8088, the default account: admin, password: Zbxtable
8084 zbxtable 后端程序端口, 重启 nginx 即可使用http://ip:8088 访问系统, 默认账号:admin,密码: Zbxtable
56 changes: 0 additions & 56 deletions README.zh-CN.md

This file was deleted.

Loading

0 comments on commit 77a790c

Please sign in to comment.