improve setup instructions and fix Swagger UI #2
@ -52,8 +52,9 @@ To be able to build and run the Java Spring Boot application, you need the follo
|
|||||||
- Docker 20.x (on MacOS you also need *Docker Desktop* or similar)
|
- Docker 20.x (on MacOS you also need *Docker Desktop* or similar)
|
||||||
- PostgreSQL Server 13.7-bullseye
|
- PostgreSQL Server 13.7-bullseye
|
||||||
(see instructions below to install and run in Docker)
|
(see instructions below to install and run in Docker)
|
||||||
- Java JDK at least recent enough to run Gradle Wrapper (gradlew)
|
- Java JDK at least recent enough to run Gradle
|
||||||
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
||||||
|
- Gradle in some not too outdated version (7.4 will be installed via wrapper)
|
||||||
|
|
||||||
You also might need an IDE (e.g. *IntelliJ IDEA* or *Eclipse* or *VS Code* with *[STS](https://spring.io/tools)* and a GUI Frontend for *PostgreSQL* like *Postbird*.
|
You also might need an IDE (e.g. *IntelliJ IDEA* or *Eclipse* or *VS Code* with *[STS](https://spring.io/tools)* and a GUI Frontend for *PostgreSQL* like *Postbird*.
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ If you have at least Docker, the Java JDK and Gradle installed in appropriate ve
|
|||||||
|
|
||||||
cd your-hsadmin-ng-directory
|
cd your-hsadmin-ng-directory
|
||||||
|
|
||||||
./gradlew # downloads the configured Gradle version into the project
|
gradle wrapper # downloads the configured Gradle version into the project
|
||||||
source .aliases # creates some comforable bash aliases, e.g. 'gw'='./gradlew'
|
source .aliases # creates some comforable bash aliases, e.g. 'gw'='./gradlew'
|
||||||
|
|
||||||
gw test # compiles and runs unit- and integration-tests
|
gw test # compiles and runs unit- and integration-tests
|
||||||
@ -69,7 +70,7 @@ If you have at least Docker, the Java JDK and Gradle installed in appropriate ve
|
|||||||
# if the container has not been built yet, run this:
|
# if the container has not been built yet, run this:
|
||||||
pg-sql-run # downloads + runs PostgreSQL in a Docker container on localhost:5432
|
pg-sql-run # downloads + runs PostgreSQL in a Docker container on localhost:5432
|
||||||
# if the container has been built already, run this:
|
# if the container has been built already, run this:
|
||||||
docker start hsadmin-ng-postgres
|
pg-sql-start
|
||||||
|
|
||||||
gw bootRun # compiles and runs the application on localhost:8080
|
gw bootRun # compiles and runs the application on localhost:8080
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user