Skip to main content

Local Environment Setup

Step-by-step instructions to run the Uniconnect Enterprise ecosystem locally.

1. Local Infrastructure (Docker)

Start the local backing services using Docker Compose:

  • PostgreSQL: Port 5432
  • Redis: Port 6379

`ash

Example docker run for PostgreSQL

docker run -d --name uc-postgres -p 5432:5432 -e POSTGRES_DB=uniconnect -e POSTGRES_PASSWORD=postgres postgres:16

Example docker run for Redis

docker run -d --name uc-redis -p 6379:6379 redis:7-alpine `

2. Setting Up Backend (uc-enterprise-core)

`ash cd d:/Projects/uc-enterprise-core npm install cp .env.example .env

Configure DATABASE_URL and REDIS_URL in .env

npx prisma migrate dev npm run dev `

3. Setting Up Frontend (uc-enterprise-web)

ash cd d:/Projects/uc-enterprise-web npm install cp .env.example .env npm run dev The web portal will run on http://localhost:5173.

4. Setting Up Cube Reporting (uc-enterprise-cube)

ash cd d:/Projects/uc-enterprise-cube npm install npm run dev Cube playground runs on http://localhost:4000.