1 Star 0 Fork 19

̶w̶o̶l̶f̶ / iam-service

forked from Choerodon / iam-service 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
init-mysql-database.sh 825 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
MAVEN_LOCAL_REPO=$(cd / && mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout)
TOOL_GROUP_ID=io.choerodon
TOOL_ARTIFACT_ID=choerodon-tool-liquibase
TOOL_VERSION=0.11.0.RELEASE
TOOL_JAR_PATH=${MAVEN_LOCAL_REPO}/${TOOL_GROUP_ID/\./\/}/${TOOL_ARTIFACT_ID}/${TOOL_VERSION}/${TOOL_ARTIFACT_ID}-${TOOL_VERSION}.jar
mvn org.apache.maven.plugins:maven-dependency-plugin:get \
-Dartifact=${TOOL_GROUP_ID}:${TOOL_ARTIFACT_ID}:${TOOL_VERSION} \
-Dtransitive=false
java -Dspring.datasource.url="jdbc:mysql://localhost/iam_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true" \
-Dspring.datasource.username=root \
-Dspring.datasource.password=root \
-Ddata.drop=false -Ddata.init=true \
-Ddata.dir=src/main/resources \
-jar ${TOOL_JAR_PATH}
Java
1
https://gitee.com/wolf-hw/iam-service.git
git@gitee.com:wolf-hw/iam-service.git
wolf-hw
iam-service
iam-service
master

搜索帮助