๐ Getting Started
33 views
Setup Awal & Login Pertama
Setup Awal & Login Pertama
Kredensial Default
Setelah seeder pertama dijalankan, beberapa user default tersedia:
| Password | Role | Akses | |
|---|---|---|---|
admin@klinik.com |
password |
Owner (Super Admin) | Akses penuh semua modul |
sari@klinik.com |
password |
Doctor (Umum) | EDR + appointment |
ahmad@klinik.com |
password |
Doctor (Orthodontist) | EDR + ortho |
maya@klinik.com |
password |
Doctor (Pedodontist) | EDR + pediatric |
budi@klinik.com |
password |
Doctor (Endodontist) | EDR + endodontic |
rina@klinik.com |
password |
Nurse | Asistensi |
lisa@klinik.com |
password |
Front Office | Appointment + billing |
dewi@klinik.com |
password |
Cashier | Payment processing |
โ ๏ธ Production: Segera ganti password default semua user setelah deploy!
Cara Login
- Buka
http://domain.com/login - Masukkan email & password
- Sistem otomatis redirect:
- Staff (owner/admin/doctor/dll) โ
/admin/dashboard - Patient โ
/portal/dashboard
- Staff (owner/admin/doctor/dll) โ
Pertama Kali Setup Production
# 1. Clone & install dependencies
composer install --optimize-autoloader --no-dev
npm install && npm run build
# 2. Setup environment
cp .env.example .env
php artisan key:generate
# 3. Set di .env:
APP_ENV=production
APP_URL=https://yourdomain.com
LICENSE_DEV_BYPASS=false
DB_HOST=...
DB_DATABASE=...
# 4. Migrate & seed
php artisan migrate --force
php artisan db:seed --force
# 5. Cache config
php artisan config:cache
php artisan route:cache
php artisan view:cache
# 6. Aktivasi License
# Buka domain โ wizard /__pair โ paste activation key dari whitelabel.co.id
# 7. Setup cron (untuk reminders & schedule)
* * * * * cd /path-to-project && php artisan schedule:run >> /dev/null 2>&1
Konfigurasi Dasar yang Wajib
Sebelum live, atur via /admin/landing dan /admin/settings:
- โ๏ธ Hero title, subtitle, CTA
- ๐ Kontak (phone, WhatsApp, email, address, hours)
- ๐ Google Maps embed iframe
- ๐ท Hero image, about image
- ๐ฏ Stats (years, patients, doctors, treatments)
- ๐ Social media URLs
- โญ Testimonials (minimum 3)
- โ FAQs (minimum 5)
- ๐ฆท Features "Kenapa Kami" (minimum 4)
Konfigurasi Provider AI (Opsional)
- Buka
/admin/settings/ai-providers - Klik "+ Add Provider"
- Input: nama (bebas), API format, base URL, API key, default model
- Test connection
- Assign provider ke feature di
/admin/settings/ai-features
Konfigurasi WhatsApp (Opsional)
- Buka admin โ akan ada menu Messaging Providers (coming via setting UI)
- Pilih format: WATI / Wablas / Fonnte / Twilio / Generic REST
- Input API key & base URL
- Test send message