Skip to content

Commit 3571373

Browse files
authored
Update README.md
1 parent 5637cb7 commit 3571373

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

payara/README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ After creating the first plain hello world with Payara Micro and Platform.sh, it
1010
On this point, we'll create a REST application this time connect to a relational database; we have support to [MySQL, Maria](https://docs.platform.sh/configuration/services/mysql.html) and [PostgreSQL](https://docs.platform.sh/configuration/services/postgresql.html), but on this application we'll use [PostgreSQL](https://docs.platform.sh/configuration/services/postgresql.html).
1111

1212

13-
14-
15-
16-
## Using Docker
17-
18-
![Docker](https://www.docker.com/sites/default/files/horizontal_large.png)
19-
20-
1. Install docker: https://www.docker.com/
21-
1. https://hub.docker.com/_/postgres
22-
1. Run docker command
23-
1. Run PostgreSQL: verify PostgreSQL image name with the command `docker images`, it can be mongodb or mongo, and then execute this command:
24-
* `docker run --name postgres-instance -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_DB=fishes -d postgres`
25-
26-
![Database](https://d1q6f0aelx0por.cloudfront.net/product-logos/library-postgres-logo.png)
27-
28-
2913
## How to Execute
3014

3115
```shell
@@ -44,4 +28,4 @@ curl --location --request POST 'http://localhost:8080/fishes' \
4428

4529
```shell
4630
curl --location --request GET 'http://localhost:8080/fishes'
47-
```
31+
```

0 commit comments

Comments
 (0)