Giter VIP home page Giter VIP logo

amos-ss15-proj4's Introduction

amos-ss15-proj4 Build Status

Personalfragebogen 2.0 @ DATEV

Setup

Longer version

  1. Clone the project using git clone [email protected]:JOBAA/amos-ss15-proj4.git
  2. Change to the project directory using cd amos-ss15-proj4
  3. Run ./gradlew idea or ./gradlew eclipse, depending on which IDE you use.
  4. Load the project in the IDE using "Import existing (Gradle) Project" or similar.

Shorter version

git clone [email protected]:JOBAA/amos-ss15-proj4.git
cd amos-ss15-proj4
./gradlew idea # For IntelliJ Idea
./gradlew eclipse # For Eclipse

Gradle

To get a list of available commands, use ./gradlew tasks.

Configuration

Configuration is held in YAML files. We have a main configuration with application wide configuration. Then, there is a developer specific configuration file which overrides any configuration that a developer might have locally. To enable this, just rename the file:

# Linux
mv src/main/resources/config/application-developer-specific.yml{.sample,}

# Windows
rename-item -path src/main/resources/config/application-developer-specific.yml.sample -newname application-developer-specific.yml

This developer specific configuration file is ignored in our .gitignore and should not be committed to version control, since most probably it contains sensitive information. Further comments on what is loaded in which profile can be found in the file src/main/resources/config/application.yml.

To not confuse the terms Configuration and Profile: a configuration can contain multiple profiles. For example, we could have a configuration use-in-memory-db and a configuration load-sql-from-file-on-startup. These could be combined (and will be resolved hierarchically), as seen in the Spring Boot documentation.

Running the Tests

If you want to run the tests using for example ./gradlew test.

Adding the license to new files

We need to have our license at the start of every file. This can be done manually or automatically.

Automatically (recommended)

The gradle plugin we use (com.github.hierynomus.license) introduces two tasks:

1. license : Checks for header consistency.
2. licenseFormat : Applies the header (`LICENSE.header`) in files missing it

Yes, there are more than two tasks introduced (6 to be precise). The ones that additionally include the Main or Test part in their name. These however just cover the respective source set and not all source sets. Thus, you most probably do not need them.

Manually

Take the license from one of the existing files and copy-paste it over to the new file. Make sure that there is no newline between the license and the package ... part.

amos-ss15-proj4's People

Contributors

4tt1l4 avatar jonasgroeger avatar legend-dale avatar matombo avatar nikithamohan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.