Skip to content
Marvin edited this page May 30, 2023 · 4 revisions

From administrators perspective, an ASAPHub a single program that can be launched e.g. like this:

java -cp libs/ASAPJava.jar;ASAPHub.jar net.sharksystem.hub.hubside.ASAPTCPHub

get jar file from latest release

  1. download the ASAPHub as jar file from the latest release
  2. java -jar target/ASAPHub.jar -port [portnumber] -maxIdleSeconds [seconds]

build and run Hub using Maven

  1. mvn clean package -DskipTests
  2. java -jar target/ASAPHub.jar -port [portnumber] -maxIdleSeconds [seconds]

The parameters portnumber and maxIdleSeconds are optional.

build and run Hub using Docker

  1. docker build -t asaphub:latest .
  2. docker run --name hub asaphub:latest -port [portnumber] -maxIdleSeconds [seconds]

The parameters portnumber and maxIdleSeconds are optional.