c22c9c8c84884fac2d350e64241cdcb319ac5e88
WebGIS Portal
Folder ini adalah versi gabungan dari landing page dan dua project WebGIS.
Struktur Folder
Landingpage/
|-- index.html # Landing page utama
|-- style.css # Style landing page
|-- assets/ # Asset landing page
|-- Leaflet/ # Project 1: WebGIS SPBU, jalan, dan parsil
| |-- leaf.html
| |-- spatial.html
| |-- api/
| |-- assets/
| `-- sql/
|-- Leaflet2/ # Project 2: WebGIS Peduli
| |-- index.php
| |-- login.php
| |-- laporan.php
| |-- panduan.php
| |-- api/
| |-- assets/
| `-- sql/
|-- Dockerfile # Persiapan Docker, belum perlu dijalankan
|-- docker-compose.yml # Service app + database untuk deploy
|-- docker-compose.local.yml # Override port untuk menjalankan lokal
|-- .env.example # Contoh konfigurasi environment
|-- .dockerignore
|-- .gitignore
`-- DOCKER_STEPS.md # Panduan belajar menjalankan Docker
Menjalankan di XAMPP
Pastikan folder ini berada di:
C:\xampp\htdocs\Landingpage
Buka landing page:
http://localhost/Landingpage/
Shortcut project:
http://localhost/Landingpage/Leaflet/leaf.html
http://localhost/Landingpage/Leaflet/spatial.html
http://localhost/Landingpage/Leaflet2/login.php
Database Lokal
Import SQL berikut melalui phpMyAdmin atau MySQL:
Leaflet/sql/schema.sql
Leaflet/sql/spatial_schema.sql
Leaflet2/sql/miskin_schema.sql
Database yang digunakan:
webgis_spbu
webgis_miskin
Titik Edit Tampilan
Landing page:
index.html
style.css
assets/
Project 1:
Leaflet/leaf.html
Leaflet/spatial.html
Project 2:
Leaflet2/assets/css/style.css
Leaflet2/assets/css/login.css
Leaflet2/assets/css/guide.css
Leaflet2/assets/css/report.css
Akun Default Project 2
Username: admin
Password: admin123
Docker
File Docker sudah disiapkan untuk lokal dan deploy. Baca:
DOCKER_STEPS.md
Untuk menjalankan lokal dengan akses http://localhost:8080, gunakan:
docker compose -f docker-compose.yml -f docker-compose.local.yml up -d --build
Untuk deploy di Coolify, gunakan docker-compose.yml saja agar port host tidak bentrok dengan aplikasi lain di server.
Catatan Git
File yang tidak perlu masuk Git sudah dicatat di .gitignore, terutama .env, upload, log, vendor, dan node_modules.
Description
Languages
JavaScript
37.4%
PHP
36.8%
CSS
16.9%
HTML
8.7%
Dockerfile
0.2%