Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the PetVet sample README #442

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading