6 Star 8 Fork 10

open-hand / choerodon-asgard

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
init-database.sh 918 Bytes
Copy Edit Web IDE Raw Blame History
scp authored 2020-07-20 16:52 . [IMP] 修改init-data
#!/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.17.1.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:3306/?serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true" \
-Dspring.datasource.username=root \
-Dspring.datasource.password=root \
-Dspring.datasource.driver-class-name=com.mysql.jdbc.Driver \
-Ddata.init=true \
-Dlogging.level.root=info \
-Dinstaller.jarPath=target/app.jar \
-jar ${TOOL_JAR_PATH}

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/open-hand/choerodon-asgard.git
git@gitee.com:open-hand/choerodon-asgard.git
open-hand
choerodon-asgard
choerodon-asgard
master

Search