- JDK 1.8+;
- Maven 3.2.x+;
- Git
git clone https://github.com/haozi2015/id-generator.git
cd id-generator
mvn -DskipTests clean package -P build
cd id-generator-dashboard/target/
tar -xvf id-generator-dashboard-1.0-SNAPSHOT.tar.gz
#vim ./id-generator-dashboard/application.yml --配置存储地址
./id-generator-dashboard/start.sh
cd id-generator-app/id-generator-simple/target/
tar -xvf id-generator-simple-1.0-SNAPSHOT.tar.gz
#vim ./id-generator-simple/application.yml --配置存储地址
./id-generator-simple/start.sh
cd id-generator-app/id-generator-spring-cloud/target/
tar -xvf id-generator-spring-cloud-1.0-SNAPSHOT.tar.gz
#vim ./id-generator-spring-cloud/application.yml --配置存储、Eureka地址
./id-generator-spring-cloud/start.sh
cd id-generator-app/id-generator-dubbo/id-generator-dubbo-provider/target/
tar -xvf id-generator-dubbo-provider-1.0-SNAPSHOT.tar.gz
#vim ./id-generator-dubbo-provider/application.yml --配置存储、zookeeper地址
./id-generator-dubbo-provider/start.sh
配置详情...