Giter VIP home page Giter VIP logo

spring-boot-mysql's Introduction

Hive suite

Install sdkman with curl -s "https://get.sdkman.io" | bash, then to autoload the .sdkmanrc, set sdkman_auto_env=true in $HOME/.sdkman/etc/config

Build all modules without tests:

./gradlew clean build -xtest

Build all modules with tests:

./gradlew clean build

Start a single spring app:

./gradlew clean app:bootRun

Some useful gradle plugins tasks

  • See dependency tree: ./gradlew dependencyReport
  • See dependency tree as interactive webpage: ./gradlew build -xtest --scan
  • Get modules versions: ./gradlew printSemver
  • Create a new version: ./gradlew createSemverTag -Psemver.stage=final -Psemver.scope=minor
  • Build snapshot docker images ./gradlew jibDockerBuild -Psemver.stage=snapshot -Psemver.tagPrefix=
  • Publish snapshot jars in nexus:
    ./gradlew publish -Psemver.stage=snapshot -Psemver.tagPrefix=

Stop all hidden gradle daemons:

./gradlew --stop

GitOps

Push all git tags:

git push --tags

delete a git tag:

TAG="0.2.0"
git tag -d $TAG
git push --delete origin $TAG

Liquibase

Generate changelog squash:

/home/geoffrey/Downloads/liquibase-4.23.0/liquibase generate-changelog \
  --classpath=$HOME/Downloads/h2-2.2.220.jar \
  --driver=org.h2.Driver \
  --url=jdbc:h2:file:/home/geoffrey/Desktop/git/hive-shopfloor-backend/data/hive \
  --username=sa \
  --password=password \
  --schemas=PUBLIC \
  --changeLogFile=changelog-h2.xml

Docker compose

To fix the old docker compose cli running in the gradle plugin do: https://stackoverflow.com/a/72187587

Stop all docker containers if they remained live by mistake:

docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.