工作流web

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

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执行该文件即可完成部署。