Docker is installed;
gradle bootRun
#或
./gradlew bootRun
You need not start mysql on local manually. bootRun will start a loacl mysql Docker automaticly.
you can run
./startMysql.sh
to start a local Dcoker with Mysql 5.7 ( This step is already integrated to gradle bootRun)
A Docker Deamon is running, you can use docker-machine create a local VM to host Docker server like:
docker-machine create --driver virtualbox default.
eval $(docker-machine env default)
cd Sonarqube
docker-compose up
docker-machine env default
#或
docker-machine ssh default 'ifconfig eth1 | grep "inet addr:" | cut -d: -f2 | cut -d" " -f1'
gradle sonarqube
then open http://VM-IP:9000 to view sonarqube