Move index.php dari root ke public/ - running directory sekarang di public
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user