Update the README.

main
KKlochko 2 years ago
parent 034a2a5e3c
commit 3be3f138c4

@ -1,6 +1,6 @@
# jdbc-hospital-example
# jpa-hospital-example
This project is a example of using jdbc
This project is a example of using jpa.
The project uses the [Spock Framework Example Project](https://github.com/spockframework/)
@ -31,8 +31,8 @@ Type: build
Type: preparation
- create a folder, for example, `project`.
- copy config/db to the folder.
- copy `jdbc_hospital_example-1.0.2.jar` from a release to the folder.
- if you build the application from source, find the file (`jdbc_hospital_example-1.0.2-all.jar`) in `build/libs/`.
- copy `jpa_hospital_example-1.0.2.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/`.
- copy docker/docker-compose.yml to the folder.
- turn up the database in the `project/docker`:
```
@ -45,7 +45,7 @@ Type: run
After the preparation, run the application in the folder, for example, `project`:
```shell
java -jar jdbc_hospital_example-1.0.2.jar
java -jar jpa_hospital_example-1.0.2.jar
```
## Building with Maven
@ -68,7 +68,7 @@ Type: build
Type: preparation
- create a folder, for example, `project`.
- copy config/db to the folder.
- copy `jdbc_hospital_example-version.jar` from a release to the folder.
- copy `jpa_hospital_example-version.jar` from a release to the folder.
- if you build the application from source, find the file in `target/`.
- copy docker/docker-compose.yml to the folder.
- turn up the database in the `project/docker`:
@ -82,7 +82,7 @@ Type: run
After the preparation, run the application in the folder, for example, `project`:
```shell
java -jar jdbc_hospital_example-1.0.2.jar
java -jar jpa_hospital_example-1.0.2.jar
```
## Author

Loading…
Cancel
Save