forked from mosip/esignet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ MOSIP-26666 ] updated README.md (mosip#177)
* [ MOSIP-26666 ] updated README.md * [ MOSIP-26666 ] updated README.md * [ MOSIP-26666 ] updated README.md * [ MOSIP-26666 ] updated README.md based on review changes requested * [ MOSIP-26666 ] updated README.md --------- Co-authored-by: syed-salman-technoforte <syed.salman@technoforte.co.in>
- Loading branch information
1 parent
f893f9b
commit 358a88d
Showing
5 changed files
with
83 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
# e-Signet | ||
# e-Signet Database | ||
Open ID based Identity provider for large scale authentication. | ||
|
||
## Overview | ||
This folder containers various SQL scripts to create database and tables in postgres. | ||
The tables are described under `<db name>/ddl/`. | ||
Default data that's populated in the tables is present under `<db name>/dml` folder. | ||
|
||
## Prerequisites | ||
* Make sure DB changes for IDA and PMS are up to date. | ||
* If not upgraded, IDA DB using the [release script](https://github.com/mosip/id-authentication/tree/develop/db_release_scripts). | ||
* If not upgraded, PMS DB using the [release script](https://github.com/mosip/partner-management-services/tree/develop/db_release_scripts). | ||
|
||
## Initialize esignet DB | ||
* To initialize esignet DB, run below script. | ||
* Command line utilities: | ||
- kubectl | ||
- helm | ||
* Helm repos: | ||
```sh | ||
./init_db.sh | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add mosip https://mosip.github.io/mosip-helm | ||
``` | ||
|
||
## Install in existing MOSIP K8 Cluster | ||
These scripts are automatically run with below mentioned script in existing k8 cluster with Postgres installed. | ||
### Install | ||
* Set your kube_config file or kube_config variable on PC. | ||
* Update `init_values.yaml` with db-common-password from the postgres namespace in the required field `dbUserPasswords.dbuserPassword` and ensure `databases.mosip_esignet` is enabled. | ||
``` | ||
./init_db.sh` | ||
``` | ||
|
||
## Install for developers | ||
Developers may run the SQLs using `<db name>/deploy.sh` script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters