Giter Club home page Giter Club logo

dentoice's Introduction

Dentoice Backend Service

dev new version

change application properties

  • add default password to datasource & mail
  • enable liquibase and set drop-first to true
  • change hibernate ddl-auto to create

committing changes

  • never commit the adapted application properties

test service

  • start postgres container
  • keep application properties
  • run service ide
  • run ./gradlew clean build

prepare upgrade

  • disable liquibase and set drop-first to false
  • change hibernate auto-ddl to validate
  • run ./gradlew clean build -xtest to build drop and skip failing tests
  • build docker image docker build -t marschine/dentoice-service .
  • push docker image docker push marschine/dentoice-service

upgrade old setup

initial database setup

  • docker run --name dentoice-postgres -d -v /home/edith/Schreibtisch/dentoice:/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=<pw> -e POSTGRES_USER=dentoice postgres:10.6-alpine
  • docker run --name postgres-smoke -d -v /home/edith/Schreibtisch/smoke:/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=<pw> -e POSTGRES_USER=dentoice postgres:10.6-alpine

pull image

  • docker tag marschine/dentoice-service:latest marschine/dentoice-service:old
  • docker pull marschine/dentoice-service

run new image

  • docker rename dentoice-service dentoice-service-old
  • docker start postgres-smoke
  • docker run -i -p 9876:9876 --name dentoice-service marschine/dentoice-service

dentoice's People

Contributors

maribowman avatar

Watchers

 avatar

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.