Introduction
flowci 前端项目
Quick Start
Require
Node > 6
Install
$ git clone [email protected]:FlowCI/flow-web.git
$ cd flow-web
$ npm install
Configuration
Find config/index.js to overwrite some configuration.
Modify the API address to use the FLOW_WEB_API environment variable directly
Start
develop
$ npm start
production
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
Start With Docker
FLOW_API_DOMAIN
: Flow Api 的地址80
对外暴露的端口是80
docker run \
-p 3000:80 \
-e FLOW_API_DOMAIN=http://localhost:8080/flow-api \
flowci/flow-web
License
flow-web is an open source project, sponsored by https://www.fir.im/ under the Apache License, Version 2.0.