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
| Service | URL |
|---|---|
| Frontend | http://localhost:8085 |
| Backend API | http://localhost:8081 |
| Swagger UI | http://localhost:8081/swagger/ |
| OpenSearch Dashboards | http://localhost:5601 |
6. Login
Buka Frontend di browser, lalu login dengan credentials:
| Role | Username | Password |
|---|---|---|
| Admin | admin | Admin123! |
| Operator | operator1 | Oper@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
- Architecture Overview - Pahami arsitektur sistem
- Backend API - Dokumentasi lengkap API
- Docker Compose - Konfigurasi infrastructure