niamhmphelan / pledge

Spring based pledge management application
0 stars 1 forks source link

README

This README would normally document whatever steps are necessary to get your application up and running.

What is this repository for?

How do I get set up?

The application uses gradle as its build framework. The gradle wrapper has been provided so there is no need to install gradle seperately. The application can be run in two modes, development mode using an embedded hsql database or production mode using a mysql database. The checked in version is configured to run against the local hsql configuration. Refer to the Database Configuration section of this document to run the application locally using an embedded database (no database setup required) or in production against the configured mysql instance.

To start the application locally After performing any required actions in Database Configuration, open a command prompt and navigate to the root directory of the application. Type the following depending on your platform: windows: .\gradlew jettyRunWar unix: ./gradlew jettyRunWar

To import the application into eclipse, open a command prompt and navigate to the root directory of the application. Type the following depending on your platform: windows: .\gradlew eclipse unix: ./gradlew eclipse

Open eclipse and select File -> Import -> Existing projects into workspace

spring.profiles.active local

Change the param-value to either local or production.

Contribution guidelines

Who do I talk to?