GitXplorerGitXplorer
b

oth-sw

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
000ecf0c093b2a1c70902be9f212f022d1ab043e

Add suspended note and badges to README

bbbenno committed 4 years ago
Verified
31b8b59c22b31071149ddcc61ad7342a6c4f0e54

Merge pull request #72 from bbenno/release/v1.0.0

bbbenno committed 4 years ago
Verified
db1e1f1f9c58af019a6a04a36278694204207de3

Bump version in POM.xml to 1.0.0

bbbenno committed 4 years ago
Verified
5d84918783ee7a617c7eb58d8c9e6d9ed9b9b974

Fix bug in MessageRepository

bbbenno committed 4 years ago
Verified
5f3f31b34fb69936248acfd7af8079dc9f69a647

Allow user with one-character usernames

bbbenno committed 4 years ago
Verified
db759378e4fc064a1825dd47131cf7088c297964

Set Scope of SearchWebSocketEndpoint to websocket

bbbenno committed 4 years ago

README

The README file for this repository.

= Chat Service Benno Bielmeier benno.bielmeier@st.oth-regensburg.de :icons: font

image:https://github.com/bbenno/oth-sw/workflows/Java%20CI%20with%20Maven/badge.svg[Java CI with Maven]

image:https://img.shields.io/github/repo-size/bbenno/oth-sw[GitHub repo size] image:https://img.shields.io/tokei/lines/github/bbenno/oth-sw[Lines of code] image:https://img.shields.io/github/languages/top/bbenno/oth-sw[GitHub top language] image:https://img.shields.io/maintenance/no/2021[Maintenance]

WARNING: Development of this application is supended.

== Setup

.Requirements [IMPORTANT]

. Java 14 or later (https://jdk.java.net/[JDK] for <>, JRE for <>) . https://maven.apache.org/[Maven] 3.2+ . https://dev.mysql.com/doc/refman/8.0[MySQL 8.0] + Note: version in link:src/main/resources/application-production.properties[application-production.properties] is v5.1 due to environment of intended deployment. + https://nvd.nist.gov/vuln/detail/CVE-2019-2692[This version has known security vulnerabilities] -> edit properties file and use later version of MySQL!

=== Development

. Clone repository + [source] git clone git@github.com:bbenno/oth-sw . {blank} [source] cd oth-sw . Install local JAR + [source] 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 . Set environment variablesfootnote:pam[See sample link:src/.pam_environment.sample[.pam_environment]] . (Optionally) Edit link:src/main/resources/application.properties[application.properties] or link:src/main/resources/application-development.properties[application-development.properties] . Build JAR + [source] ./mvnw package . Run application + [source] ./mvnw spring-boot:run

=== Deployment

. Download https://github.com/bbenno/oth-sw/releases/latest[latest chat-<VERSION>.jar] . Set environment variablesfootnote:pam[] . Start webserverfootnote:[See sample link:src/production-run.sh[run script]] + [source, bash] java -jar chat-.jar >> console.log 2>> error.log & . Ensure that there are at least two bots with the usernames payment_service and bank_service present in the database. + If not run link:src/main/resources/import.sql[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

Graphics from https://github.com/twitter/twemoji/ licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/