Skip to content

Local setup using Docker

Platform API

Clones the platform repository from GitHub:

Terminal window
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:

Terminal window
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.

Terminal window
npx prisma db seed

Access the Platform API by navigating to:

Terminal window
http://localhost:5000

Studio UI

Clone the CREDEBL Studio repository:

Terminal window
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

Terminal window
docker build -t UI .

Start Studio UI

Terminal window
docker run -d -p 8085:8085 --env-file .env --name UI-App UI

Access the dockerized Studio UI by navigating to:

Terminal window
http://localhost:8085