Local setup using Docker
Platform API
Clones the platform repository from GitHub:
git clone https://github.com/credebl/platform.git cd platform
Create a .env file and set the required environment variables as per the .env.sample
file.To start the API gateway and microservices.
Start the services:
docker compose up -d
For initial master table entry create a credebl-master-table.json file at lib/prisma-service/prisma/data and set the required variables as per the credebl-master-table.json
file.run following command.
npx prisma db seed
Access the Platform API by navigating to:
http://localhost:5000
Studio UI
Clone the CREDEBL Studio repository:
git clone https://github.com/credebl/studio.git cd studio
Create a .env file and set the required environment variables as per the .env.sample
file.
Build docker image
docker build -t UI .
Start Studio UI
docker run -d -p 8085:8085 --env-file .env --name UI-App UI
Access the dockerized Studio UI by navigating to:
http://localhost:8085