flowci 前端项目
Node > 6
$ git clone git@github.com:FlowCI/flow-web.git
$ cd flow-web
$ npm install
Find config/index.js to overwrite some configuration.
Modify the API address to use the FLOW_WEB_API environment variable directly
$ npm start
In production mode, please compile. After compiling, all static files will be generated under dist folder. You can use the server to make it accessible.
$ npm run build
FLOW_API_DOMAIN
: Flow Api 的地址80
对外暴露的端口是80
docker run \
-p 3000:80 \
-e FLOW_API_DOMAIN=http://localhost:8080/flow-api \
flowci/flow-web
flow-web is an open source project, sponsored by https://www.fir.im/ under the Apache License, Version 2.0.