Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.21 KB

GeoWeb-BackEnd

Build Status Download

Back end for GeoWeb

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 GeoWebBackEndApplication
  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

Creating a docker image:

  1. mvn install dockerfile:build