Skip to content
linux-pilotPublic

About

Smart Car Parking System

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Car Parking System (CPS) Setup Guide

This guide assumes you are using XAMPP or WAMPP for your local development environment.

1. Place Files

  • Copy the project folder cps into your web server's root directory:
    • XAMPP: C:\xampp\htdocs\
    • WAMPP: C:\wamp64\www\

2. Start Services

  • Open your XAMPP/WAMPP Control Panel.
  • Start Apache and MySQL modules.

3. Database Setup

  1. Open your browser and go to http://localhost/phpmyadmin.
  2. Click New to create a new database.
  3. Name the database CPS and click Create.
  4. Select the CPS database from the sidebar.
  5. Click the Import tab.
  6. Choose the file database/cps.sql from the project folder.
  7. Click Go to import the tables.

4. Configuration

  1. Go to the project folder (htdocs/cps or www/cps).
  2. Copy the file .env.example and rename it to .env.
  3. Open .env with a text editor (Notepad, VS Code, etc.).
  4. Update the settings as follows (default for XAMPP/WAMPP):
# Database Configuration
DB_HOST=localhost
DB_USERNAME=root
DB_PASSWORD=
DB_NAME=CPS

# Gmail SMTP Configuration (Required for OTPs)
# 1. Go to https://myaccount.google.com/apppasswords
# 2. Generate a new App Password for "Mail"
SMTP_USERNAME=your_email@gmail.com
SMTP_PASSWORD=your_16_digit_app_password
SMTP_FROM_EMAIL=your_email@gmail.com

5. Usage

  • User Portal: Open http://localhost/cps
  • User Portal: Open http://localhost/cps

About

Smart Car Parking System

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages