Skip to content

Commit

Permalink
Merge pull request #442 from ShanChathusanda93/petvet-update-branch
Browse files Browse the repository at this point in the history
Update the PetVet sample README
  • Loading branch information
ShanChathusanda93 authored Apr 3, 2024
2 parents 1590364 + 9ccd990 commit a30dad4
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions petcare-sample/b2b/web-app/petvet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@
```
bal run
```
!!! Note
By default, the services store the data in memory. They can be connected to MySQL databases.
Create a Config.toml file in the root folder of each service component and add the relevant
DB configurations to the Config.toml files
dbHost = "<DB_HOST>"
dbUsername = "<DB_USERNAME>"
dbPassword = "<DB_USER_PASSWORD>"
dbDatabase = "<DB_NAME>"
dbPort = <PORT>
> [!NOTE]
> By default, the services store the data in memory. They can be connected to a MySQL databases. Create a `Config.toml` file in the root folder of each service component and add the relevant DB configurations to the `Config.toml` files. Create tables for MYSQL databases using the schemas located in `<PROJECT_HOME>/petcare-sample/b2b/web-app/petvet/dbscripts` directory.
Create MySQL databases using the schemas located in <PROJECT_HOME>/petcare-sample/b2b/web-app/petvet/dbscripts directory.
```
dbHost = "<DB_HOST>"
dbUsername = "<DB_USERNAME>"
dbPassword = "<DB_USER_PASSWORD>"
dbDatabase = "<DB_NAME>"
dbPort = "<DB_PORT>"
```
## Create Organization in WSO2 Identity Server
1. Sign in to WSO2 Identity Server Console of the primary organization.
Expand Down

0 comments on commit a30dad4

Please sign in to comment.