# conductor 安装
从github上获取项目:
git clone https://github.com/Netflix/conductor.git
service启动:
1.进入项目目录下,右键git bash here,执行命令cd server进入server目录
2.执行../gradlew server
如果报错:找不到java.exe是因为在Windows环境下执行命令太长,需要在build.gradle文件
plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4'
}
加上id "com.github.ManifestClasspath" version "0.1.0-RELEASE"
注意:JDK版本必须为1.8否则会报错
#UI启动
1.安装node.js(因为gulp基于nodejs)
官网https://nodejs.org/en/ 下载系统信息选择对应版本(.msi文件)
查看版本: node -v ;npm -v
2.安装cnpm:
npm install -g cnpm --registry=https://registry.npm.taobao.org
查看版本:cnpm -v;
3.安装全局gulp:
cnpm install -g gulp;
4.进入 ui目录下:
cd /conductor/ui
5.安装局部gulp,右键 git bash here:
执行 npm init;
然后一直 回车
完成后接着执行指令:
npm install –save-dev gulp
6.gulp watch等待构建
如果报错,按提示执行:npm install gulp
然后在执行:gulp watch
7.访问:http://localhost:3001