|
|
@ -30,8 +30,8 @@ Type: build
|
|
|
|
|
|
|
|
|
|
|
|
Type: preparation
|
|
|
|
Type: preparation
|
|
|
|
- create a folder, for example, `project`.
|
|
|
|
- create a folder, for example, `project`.
|
|
|
|
- copy `jpa_hospital_example-1.0.2.jar` from a release to the folder.
|
|
|
|
- copy `jpa_hospital_example-2.0.1.jar` from a release to the folder.
|
|
|
|
- if you build the application from source, find the file (`jpa_hospital_example-1.0.2-all.jar`) in `build/libs/`.
|
|
|
|
- if you build the application from source, find the file (`jpa_hospital_example-2.0.1-all.jar`) in `build/libs/`.
|
|
|
|
- copy docker/docker-compose.yml to the folder.
|
|
|
|
- copy docker/docker-compose.yml to the folder.
|
|
|
|
- turn up the database in the `project/docker`:
|
|
|
|
- turn up the database in the `project/docker`:
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -44,7 +44,7 @@ Type: run
|
|
|
|
|
|
|
|
|
|
|
|
After the preparation, run the application in the folder, for example, `project`:
|
|
|
|
After the preparation, run the application in the folder, for example, `project`:
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
java -jar jpa_hospital_example-1.0.2.jar
|
|
|
|
java -jar jpa_hospital_example-2.0.1.jar
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Building with Maven
|
|
|
|
## Building with Maven
|
|
|
@ -80,7 +80,7 @@ Type: run
|
|
|
|
|
|
|
|
|
|
|
|
After the preparation, run the application in the folder, for example, `project`:
|
|
|
|
After the preparation, run the application in the folder, for example, `project`:
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
java -jar jpa_hospital_example-1.0.2.jar
|
|
|
|
java -jar jpa_hospital_example-2.0.1.jar
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Author
|
|
|
|
## Author
|
|
|
|