工作流web

wangtao 3bfdc626ef 第一次提交 hai 10 meses
.husky 3bfdc626ef 第一次提交 hai 10 meses
.run 3bfdc626ef 第一次提交 hai 10 meses
.vscode 3bfdc626ef 第一次提交 hai 10 meses
conf 3bfdc626ef 第一次提交 hai 10 meses
doc 3bfdc626ef 第一次提交 hai 10 meses
public 3bfdc626ef 第一次提交 hai 10 meses
src 3bfdc626ef 第一次提交 hai 10 meses
.env 3bfdc626ef 第一次提交 hai 10 meses
.env.development 3bfdc626ef 第一次提交 hai 10 meses
.env.production 3bfdc626ef 第一次提交 hai 10 meses
.env.test 3bfdc626ef 第一次提交 hai 10 meses
.eslintrc-auto-import.json 3bfdc626ef 第一次提交 hai 10 meses
.eslintrc.cjs 3bfdc626ef 第一次提交 hai 10 meses
.gitignore 3bfdc626ef 第一次提交 hai 10 meses
.prettierrc.json 3bfdc626ef 第一次提交 hai 10 meses
Dockerfile 3bfdc626ef 第一次提交 hai 10 meses
README.md 3bfdc626ef 第一次提交 hai 10 meses
env.d.ts 3bfdc626ef 第一次提交 hai 10 meses
index.html 3bfdc626ef 第一次提交 hai 10 meses
package.json 3bfdc626ef 第一次提交 hai 10 meses
pnpm-lock.yaml 3bfdc626ef 第一次提交 hai 10 meses
tsconfig.app.json 3bfdc626ef 第一次提交 hai 10 meses
tsconfig.json 3bfdc626ef 第一次提交 hai 10 meses
tsconfig.node.json 3bfdc626ef 第一次提交 hai 10 meses
uno.config.ts 3bfdc626ef 第一次提交 hai 10 meses
vite.config.ts 3bfdc626ef 第一次提交 hai 10 meses

README.md

lowflow-web

lowflow前端文档

部署

nodejs版本建议18+以上

1. 服务器连接配置

.env.production.env.production 文件中配置部署服务器域名或ip

# 公共基础路径
VITE_PUBLIC_PATH=/
# 线上环境接口地址
VITE_API_URL="https://demo.lowflow.vip/api"

1. 安装依赖

pnpm install

2. 构建编译

## 构建测试环境
build:test
## 构建生产环境
build:prod

3. 部署

  • 修改lowflow-web/conf/nginx.conf文件中的nginx配置.
  • 编译后修改lowflow-web/Dockerfile文件中合适的端口后使用docker执行该文件即可完成部署。