Skip to content

Simple Reddit-like platform for OOSE college course

License

Notifications You must be signed in to change notification settings

antrmn/shareboard_is

Repository files navigation

Shareboard

What's needed

  • TomEE 8.0.9
  • JDK 11
  • Hibernate 5.6
  • MySQL/MariaDB

Build

Build war artifact:

mvn package

To skip tests:

mvn package -Dmaven.skip.test=true

The resulting shareboard.war file is in ./target/

Run

  • Move shareboard.war in <<tomee-home>>/webapps/
  • Edit (create if not exists) <<tomee-home>>/conf/system.properties to set DB connection parameters:
shareboardDB.jdbcUrl = jdbc:mysql://<host>:<port>/<schemaName>?createDatabaseIfNotExist=true
shareboardDB.password = <db user password>
shareboardDB.userName = <db user name>
  • Run TomEE
    • If it's a first run, the web app fills the db schema with the appropriate tables and sample data