Skip to main content

Quick Start

Prasyarat

  • Docker & Docker Compose v2+
  • Git
  • Min. 8GB RAM (untuk menjalankan semua services)
  • Min. 20GB disk space

1. Clone Repository

git clone https://github.com/bjbsyariah/bjbs-clm.git
cd bjbs-clm

2. Setup Environment

# Copy environment template
cp .env.example .env

# Edit .env sesuai kebutuhan
# Minimal ubah IP address sesuai environment Anda

3. Jalankan Semua Services

# Build dan jalankan semua services
docker compose up -d --build
Estimasi Waktu

First build membutuhkan waktu 10-15 menit tergantung koneksi internet. Running services membutuhkan minimal 4-6GB RAM.

4. Verifikasi Services

# Cek status semua containers
docker compose ps

# Cek health backend
curl http://localhost:8081/healthz

5. Akses Aplikasi

ServiceURL
Frontendhttp://localhost:8085
Backend APIhttp://localhost:8081
Swagger UIhttp://localhost:8081/swagger/
OpenSearch Dashboardshttp://localhost:5601

6. Login

Buka Frontend di browser, lalu login dengan credentials:

RoleUsernamePassword
AdminadminAdmin123!
Operatoroperator1Oper@123!

Development Mode

Untuk development frontend secara lokal:

# Jalankan backend terlebih dahulu
cd backend
go run ./cmd/api

# Jalankan frontend (terminal baru)
cd frontend
npm install
npm run dev

Frontend development server berjalan di http://localhost:3000

Next Steps