Skip to content

KNMI/adaguc-services

Repository files navigation

adaguc-services

Build Status Download

Services for adaguc-server and pywps

For setting up development environment:

  1. Download and install spring tool suite (https://spring.io/tools/sts/all)
  2. Download lombok.jar (https://projectlombok.org/download.html)
  3. Install lombok into spring tool suite with java -jar lombok.jar
  4. Start STS and import this project as existing project
  5. Press alt F5 to update Maven
  6. In STS, select Run as java application
  7. Select AdagucServicesApplication
  8. To adjust the server port, set in Run Configuration the argument like this: --server.port=8090
  9. Copy pre-commit to ./git/hooks to enable automatic unit testing on new commits.

For creating a new package:

  1. Adjust the version in pom.xml: 0..version (this is named ${VERSION} from now on)
  2. Type mvn package
  3. in directory target the file ./target/demo-${VERSION}-SNAPSHOT.jar is created.
  4. You can for example start this with java -jar demo-${VERSION}-SNAPSHOT.jar

Versions

1.1.0 - Uses spring boot 2.0