Giter VIP home page Giter VIP logo

oth-sw's Introduction

Chat Service

Java CI with Maven

GitHub repo size Lines of code GitHub top language Maintenance

Warning
Development of this application is supended.

Setup

Important
Requirements
  1. Java 14 or later (JDK for Development, JRE for Deployment)

  2. Maven 3.2+

  3. MySQL 8.0
    Note: version in application-production.properties is v5.1 due to environment of intended deployment.
    This version has known security vulnerabilities โ†’ edit properties file and use later version of MySQL!

Development

  1. Clone repository

    git clone [email protected]:bbenno/oth-sw
  2. cd oth-sw
  3. Install local JAR

    mvn install:install-file -Dfile=lib/com.othr.swvigopay-0.0.1SNAPSHOT.jar -DgroupId=com.othr -DartifactId=swvigopay -Dversion=0.0.1SNAPSHOT -Dpackaging=jar -DgeneratePom=true
  4. Set environment variables[1]

  5. (Optionally) Edit application.properties or application-development.properties

  6. Build JAR

    ./mvnw package
  7. Run application

    ./mvnw spring-boot:run

Deployment

  1. Download latest chat-<VERSION>.jar

  2. Set environment variables[1]

  3. Start webserver[2]

    java -jar chat-<VERSION>.jar >> console.log 2>> error.log &
  4. Ensure that there are at least two bots with the usernames payment_service and bank_service present in the database.
    If not run import.sql within the context of the database.

License

Copyright 2021 Benno Bielmeier

Code licensed under the EUPL v1.2 License: https://opensource.org/licenses/EUPL-1.2


1. See sample .pam_environment
2. See sample run script

oth-sw's People

Contributors

bbenno avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

oth-sw's Issues

Appropriate scopes for all CDI beans

CDI beans are classes that CDI can instantiate, manage, and inject automatically to satisfy the dependencies of other objects.
Almost any Java class can be managed and injected by CDI.

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.