# zbxtable-web **Repository Path**: smartoa/zbxtable-web ## Basic Information - **Project Name**: zbxtable-web - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-06 - **Last Updated**: 2023-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [English](./README.md) | 简体中文 # zbxtable-web ZbxTable 前端页面 ## 开发 ``` npm run start ``` 访问 http://127.0.0.1:9600 ## 构建 环境:nodejs>10 构建 ``` npm i npm run build ``` 构建后的代码默认会存放到 /app/build 文件夹 ## 部署 建议使用 nginx, 配置文件如下 ``` server { listen 8088; server_name localhost; root /usr/local/zbxtable/web; location /v1 { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:8084; } location / { try_files $uri /index.html; } } ``` 拷贝生成的前端文件到/usr/local/zbxtable/web 目录 ``` cp -a /app/build/* /usr/local/zbxtable/web ``` 8084 为 zbxtable 后端程序端口, 重启 nginx 即可使用http://ip:8088 访问系统, 默认账号:admin,密码: Zbxtable ## Team 后端 [canghai908](https://github.com/canghai908) 前端 [ahyiru](https://github.com/ahyiru)