Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Result of build can be found in web-adminwar/target/openhub-exec.war (relative to root of project).

...

  • via command line (in root of project where OpenHub is dowloaded or cloned):

    Code Block
    languagebash
    java $JAVA_OPTS -Dserver.port=8080 -Dspring.profiles.active=example-module,h2 -jar web-adminwar/target/openhub-exec.war


  • via development environment

  • via run-ofh.sh running script

    This script is in root of downloaded (or cloned) project. It is free to change, by default this script expects openhub-exec.war in same folder as running script.
  • or via cloud provider

...

Tip

By default OpenHub is started on root context and 8080 port, but it can be customized with for example JVM arguments:

  • server.address - Network address to which the server should bind to.
  • server.context-path - Context path of the application.
  • server.port - HTTP server port.
  • spring.profiles.active - which Spring profiles will be activated
Code Block
languagebash
java $JAVA_OPTS -Dserver.port=8080 -Dspring.profiles.active=example-module,h2 -jar web-adminwar/target/openhub-exec.war