Browse Source

Updated names and paths for template

master
Jim Martens 9 months ago
parent
commit
bb50d70cc6
6 changed files with 34 additions and 9 deletions
  1. +27
    -2
      README.md
  2. +1
    -1
      gradle.properties
  3. +1
    -1
      settings.gradle
  4. +5
    -5
      template-server/src/main/java/de/twomartens/templateservice/TemplateServiceApplication.java
  5. +0
    -0
      template-server/src/main/resources/log4j2.xml
  6. +0
    -0
      template-server/template-server.gradle

+ 27
- 2
README.md View File

@ -1,3 +1,28 @@
# OParl service
# Instructions for using the template
## Introduction
This template is based upon best practices and uses Spring Boot to implement
REST APIs.
## Steps
* clone the project and create a new repository
* replace all occurences of 'template' with your service name, 'Template' accordingly (mind the cases)
* import the project in your IDE
* run initial `gradlew build`
**============ // todo: Ab hier die Doku überprüfen und ggf. ergänzen ==========**
# Template
**// todo: Hier sollte das Projekt etwas beschrieben werden**
## Git
The repository of ... is located under https://git.2martens.de/2martens/template-service.git
It is partially encrypted with git-crypt and has to be decrypted first:
```bash
git-crypt unlock %USERPROFILE%/.git-crypt-key
```
OParl API interface written with Spring Boot and Open API.

+ 1
- 1
gradle.properties View File

@ -1,4 +1,4 @@
projectname=oparl-service
projectname=template-service
projectgroup=de.twomartens
projectSourceCompatibility=11
org.gradle.daemon=true


+ 1
- 1
settings.gradle View File

@ -1,6 +1,6 @@
rootProject.name = projectname
include 'oparl-server'
include 'template-server'
rootProject.children.each { subproject ->
subproject.buildFileName = "${subproject.name}.gradle"


oparl-server/src/main/java/de/twomartens/oparlservice/OParlServiceApplication.java → template-server/src/main/java/de/twomartens/templateservice/TemplateServiceApplication.java View File


oparl-server/src/main/resources/log4j2.xml → template-server/src/main/resources/log4j2.xml View File


oparl-server/oparl-server.gradle → template-server/template-server.gradle View File


Loading…
Cancel
Save