Skip to content

Deployment

plokta edited this page May 22, 2019 · 3 revisions

Requirements

PrOfESSOS is based on JavaEE technology so you need a Java Application Server providing full JavaEE support such as Wildfly or Glassfish. Note that currently only Glassfish is tested thoroughly.

PrOfESSOS uses separate domains to distinguish Honest and Evil OP, so you need to set up the domain names and get certificates for them. The Controller page and the REST interfaces should be served from a third host, however serving via HTTPS is not strictly necessary for this endpoint.

A step by step guide on how to deploy and configure PrOfESSOS can be found here.

Compilation

Before running the compilation the host names have to be adjusted in the file src/main/resources/servernames.properties. After that the compilation can be startet with the following command.

mvn clean package

When the compilation is finished, the .war file for deployment can be found in the target directory.

Reverse Proxy Webserver

In case the Application Server is fenced with a webserver such as nginx or Apache, then it is necessary to send the appropriate headers, so that the host names are recognized by the Application Server.

Clone this wiki locally