updating README.md

This commit is contained in:
Jay
2020-01-06 22:26:28 -08:00
parent cf93e78f27
commit c58ebe8ed4

View File

@@ -7,6 +7,14 @@ Spring Boot 2.2.2 with Multiple DataSource
For This Demo you need 2.2.2 separate Postgres DataBase where one as Master and the other re one as a Replica. For This Demo you need 2.2.2 separate Postgres DataBase where one as Master and the other re one as a Replica.
for simplicity just run:
```docker-compose up --force-recreate```
the docker-compose.yml is already in the project which contains 2 PostgresSql in 2 different ports, with ```demo``` DataBase
Note: you can always uninstall it as: ```docker-compose down``` if you needed to.
--- ---
## Spring Boot Setup ## Spring Boot Setup
@@ -15,13 +23,6 @@ Or Select the following share link:
Spring Initializr Spring Initializr
Initializr generates spring boot project with just what you need to start quickly!start.spring.io Initializr generates spring boot project with just what you need to start quickly!start.spring.io
for simplicity just run:
```docker-compose up --force-recreate```
the docker-compose.yml is already in the project which contains 2 PostgresSql in 2 different ports, with ```demo``` DataBase
Note: you can always uninstall it as: ```docker-compose down``` if you needed to.
Once you Generate and download the zip file, you should have similar POM file as: Once you Generate and download the zip file, you should have similar POM file as:
```xml ```xml