Project documentation · 02
Getting Started
Everything you need to get your local lab up and running.
Requirements
- XAMPP (Apache + MySQL + PHP 8)
- Git
- A modern browser with developer tools
- Kali Linux, as a VM or a lab machine, on the same network as your XAMPP machine
- The project files
IT413_Barangay_Portal_STUDENT.zipfrom your instructor
Setup
- Extract the zip and copy the
barangay-portalfolder intoC:\xampp\htdocs\. - Open the XAMPP Control Panel and start Apache and MySQL.
- Open
http://localhost/barangay-portal/setup.phpin your browser. You should see "Setup complete". - Log in at
http://localhost/barangay-portal/. - Set up Git before changing anything (see How to Work).
Test accounts
| Username | Password | Role |
|---|---|---|
| admin | admin123 | Admin |
| juan | juan123 | Resident |
| maria | maria123 | Resident |
warning: Do not change these accounts, their passwords, the login field names (
username,password), or any database, table or column names. The automated check depends on them.
tip: Running
setup.phpagain resets the database to its original state. Use it if you break the data while testing.
Diagram: Lab setup and scope
Loading diagram…
Reaching the portal from Kali
Find the XAMPP machine's IP address with ipconfig. From Kali, open http://<that-ip>/barangay-portal/. If it doesn't load, allow Apache through the Windows Firewall.
ipconfig
Next pageProject Rules