Nessuna descrizione

wangtao b0fac28355 源码 10 mesi fa
.husky 8ab34c8a60 增加lowflow分支 10 mesi fa
.run 8ab34c8a60 增加lowflow分支 10 mesi fa
.vscode 8ab34c8a60 增加lowflow分支 10 mesi fa
conf b0fac28355 源码 10 mesi fa
doc b0fac28355 源码 10 mesi fa
public b0fac28355 源码 10 mesi fa
src b0fac28355 源码 10 mesi fa
.env b0fac28355 源码 10 mesi fa
.env.development b0fac28355 源码 10 mesi fa
.env.production b0fac28355 源码 10 mesi fa
.env.test b0fac28355 源码 10 mesi fa
.eslintrc-auto-import.json b0fac28355 源码 10 mesi fa
.eslintrc.cjs 8ab34c8a60 增加lowflow分支 10 mesi fa
.gitignore 8ab34c8a60 增加lowflow分支 10 mesi fa
.prettierrc.json 8ab34c8a60 增加lowflow分支 10 mesi fa
Dockerfile 8ab34c8a60 增加lowflow分支 10 mesi fa
README.md b0fac28355 源码 10 mesi fa
env.d.ts 8ab34c8a60 增加lowflow分支 10 mesi fa
index.html b0fac28355 源码 10 mesi fa
package.json b0fac28355 源码 10 mesi fa
pnpm-lock.yaml b0fac28355 源码 10 mesi fa
tsconfig.app.json 8ab34c8a60 增加lowflow分支 10 mesi fa
tsconfig.json b0fac28355 源码 10 mesi fa
tsconfig.node.json 8ab34c8a60 增加lowflow分支 10 mesi fa
uno.config.ts 8ab34c8a60 增加lowflow分支 10 mesi fa
vite.config.ts b0fac28355 源码 10 mesi fa

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