Run identity, credential-schema and credentials services locally for development
Vault is required to run credential services. Follow this guide to setup the vault.
Vault
Setup the dependent services link
v20.11.0
Check in docker-compose file - https://github.com/Sunbird-RC/sunbird-rc-core/blob/3100322ed7ad124a6633feaec66e491a2e2abc74/docker-compose.yml#L234arrow-up-right , export these variables with values
ie. export DATABASE_URL=postgres://postgres:postgres@db:5432/registry
export DATABASE_URL=postgres://postgres:postgres@db:5432/registry
Change directory to the desired services, ie. identity service
Use cmd yarn install to install the dependencies
yarn install
Use cmd yarn start to start the service locally
yarn start
Identity service -> Vault, Database
Credential Schema Service -> Database, Identity Service
Credentials Service -> Database, Identity Service, Credential Schema Service
Last updated 1 year ago