Services for adaguc-server and pywps
For setting up development environment:
- Download and install spring tool suite (https://spring.io/tools/sts/all)
- Download lombok.jar (https://projectlombok.org/download.html)
- Install lombok into spring tool suite with java -jar lombok.jar
- Start STS and import this project as existing project
- Press alt F5 to update Maven
- In STS, select Run as java application
- Select AdagucServicesApplication
- To adjust the server port, set in Run Configuration the argument like this: --server.port=8090
- Copy pre-commit to ./git/hooks to enable automatic unit testing on new commits.
For creating a new package:
- Adjust the version in pom.xml: 0..version (this is named ${VERSION} from now on)
- Type mvn package
- in directory target the file ./target/demo-${VERSION}-SNAPSHOT.jar is created.
- You can for example start this with java -jar demo-${VERSION}-SNAPSHOT.jar
1.1.0 - Uses spring boot 2.0