Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.61 KB

File metadata and controls

56 lines (33 loc) · 1.61 KB

Build Status

Building From Source

Requirements

For building Haven:

  • JDK (Oracle or Open) >= 1.8
  • Maven >= 3.2
  • Git >= 2.0

For running Haven:

  • JRE (Oracle or Open) >= 1.8
  • etcd >= 2.2.5
  • Swarm >= 1.2.4

Building

Get source code from GitHub:

git clone https://github.com/codeabovelab/haven-platform.git

Change directory into the local repo:

cd haven-platform

Build the backend (note that it downloads 150MB of dependencies to '/.m2/repository'):

mvn -Dmaven.test.skip=true clean package

For embedding frontend into backend run build with 'staging' profile. It consumes more time therefore disabled by default:

mvn -P staging -Dmaven.test.skip=true clean package

Running

For running the build, you need to install etcd and Swarm. Note that if your Swarm has different binary name then you must specify full path to it as --dm.swarm-exec.path=$FULL_PATH_TO_SWARM/swarm argument. Also see Dockerfile

So on command line for running the server:

java -jar cluster-manager/target/cluster-manager-*-boot.jar --dm.kv.etcd.urls=http://127.0.0.1:2379

After startup, it will be available by browsing to:

for accessing the UI, use the credential -

username: admin
password: password