Initial WebGIS portal project
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
# WebGIS Portal
|
||||
|
||||
Folder ini adalah versi gabungan dari landing page dan dua project WebGIS.
|
||||
|
||||
## Struktur Folder
|
||||
|
||||
```text
|
||||
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 # Persiapan service app + database
|
||||
|-- .env.example # Contoh konfigurasi environment
|
||||
|-- .dockerignore
|
||||
|-- .gitignore
|
||||
`-- DOCKER_STEPS.md # Panduan belajar menjalankan Docker
|
||||
```
|
||||
|
||||
## Menjalankan di XAMPP
|
||||
|
||||
Pastikan folder ini berada di:
|
||||
|
||||
```text
|
||||
C:\xampp\htdocs\Landingpage
|
||||
```
|
||||
|
||||
Buka landing page:
|
||||
|
||||
```text
|
||||
http://localhost/Landingpage/
|
||||
```
|
||||
|
||||
Shortcut project:
|
||||
|
||||
```text
|
||||
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:
|
||||
|
||||
```text
|
||||
Leaflet/sql/schema.sql
|
||||
Leaflet/sql/spatial_schema.sql
|
||||
Leaflet2/sql/miskin_schema.sql
|
||||
```
|
||||
|
||||
Database yang digunakan:
|
||||
|
||||
```text
|
||||
webgis_spbu
|
||||
webgis_miskin
|
||||
```
|
||||
|
||||
## Titik Edit Tampilan
|
||||
|
||||
Landing page:
|
||||
|
||||
```text
|
||||
index.html
|
||||
style.css
|
||||
assets/
|
||||
```
|
||||
|
||||
Project 1:
|
||||
|
||||
```text
|
||||
Leaflet/leaf.html
|
||||
Leaflet/spatial.html
|
||||
```
|
||||
|
||||
Project 2:
|
||||
|
||||
```text
|
||||
Leaflet2/assets/css/style.css
|
||||
Leaflet2/assets/css/login.css
|
||||
Leaflet2/assets/css/guide.css
|
||||
Leaflet2/assets/css/report.css
|
||||
```
|
||||
|
||||
## Akun Default Project 2
|
||||
|
||||
```text
|
||||
Username: admin
|
||||
Password: admin123
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
File Docker sudah disiapkan untuk dipelajari, tetapi belum dijalankan. Baca:
|
||||
|
||||
```text
|
||||
DOCKER_STEPS.md
|
||||
```
|
||||
|
||||
## Catatan Git
|
||||
|
||||
File yang tidak perlu masuk Git sudah dicatat di `.gitignore`, terutama `.env`, upload, log, `vendor`, dan `node_modules`.
|
||||
Reference in New Issue
Block a user