Move index.php dari root ke public/ - running directory sekarang di public

This commit is contained in:
mwpn
2025-12-18 11:40:02 +07:00
parent 8c2419d1a7
commit ef51cf96a2
2 changed files with 39 additions and 37 deletions

View File

@@ -6,8 +6,8 @@ Frontend aplikasi Retribusi BAPENDA Kabupaten Garut.
```
retribusi (frontend)/
├── index.php # Login page
├── public/
├── public/ # Document root (running directory)
│ ├── index.php # Login page
│ ├── dashboard/
│ │ ├── dashboard.html # Dashboard utama
│ │ ├── event.html # Halaman event logs
@@ -21,7 +21,6 @@ retribusi (frontend)/
│ │ ├── dashboard.js # Dashboard logic
│ │ ├── charts.js # Chart.js helpers
│ │ └── realtime.js # Realtime SSE client
│ └── index.php
└── api/ # Legacy API endpoints (deprecated)
```
@@ -50,8 +49,9 @@ File `public/dashboard/js/config.js` mengatur:
## Development
1. Pastikan backend API sudah running
2. Buka `index.php` untuk login
3. Akses dashboard di `public/dashboard/dashboard.html`
2. Set document root ke folder `public/`
3. Buka `index.php` untuk login (atau akses root `/`)
4. Akses dashboard di `dashboard/dashboard.html`
## Production