Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (30 loc) · 1.19 KB

BuildGuide.md

File metadata and controls

41 lines (30 loc) · 1.19 KB

Build Setup

This document contains the instructions to build the distribution. If you want to develop the application please consult the Development Guide

JDK 1.8

i.e. [Oracles JDK] (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)

Database

The application is tested with PostgreSQL 9.4.

## Wildfly 8.2 in standalone.xml add inside <security-domains>:

<security-domain name="testing" cache-type="default">
    <authentication>
        <login-module code="UsersRoles" flag="sufficient"/>
    </authentication>
</security-domain>

Gradle 2.4

consider using [GVM] (http://gvmtool.net)

npm

on OSX with brew install npm

Build Distribution

## preconditions

  • JDK 8 is installed

  • gradle 2.4 is installed

  • npm is installed

  • wildfly is configured and running according this guide

  • postresql is configured and running (postgres -D /usr/local/var/postgres)

## steps

  • in 'booker-client' call: npm install && bower install && gulp build
  • Start your Application server
  • in 'bookr' call: gradle distributon -x test

outcome

The distribution is built as zip and tar into 'bookr-distribution/build/distributions'