A Student-oriented, DBMS e-commerce online shopping web application for buying academic essentials with student discounts.
Here’s a summary of the tech stack and steps to run it locally using WAMP:
- PHP (main backend language)
- Hack (PHP variant, but only a small portion)
- CSS (for styling)
- JavaScript (for interactive frontend elements)
- MySQL ( typical for PHP DBMS projects and works with WAMP)
-
Install WAMP
- Download and install WAMP from the official site: https://www.wampserver.com/en/
-
Clone the Repository
- Download this repo as a ZIP or open a terminal and run:
git clone https://github.com/jelonmusk/my_site_new.git
- Download this repo as a ZIP or open a terminal and run:
-
Move Project to WAMP
- Move the cloned folder (my_site_new) to the WAMP www directory (usually C:\wamp64\www).
-
Set Up the Database
- Check the repo for any .sql file or instructions in README for setting up the database.
- Open phpMyAdmin (http://localhost/phpmyadmin) in your browser.
- Create a new database (e.g., my_site_new).
- Import the .sql file into this database (if available).
-
Configure Database Connection
- Look for a config file (commonly config.php, db.php, or similar) in the project.
- Update database credentials to match your local WAMP setup:
- host: localhost
- user: root (default for WAMP)
- password: (leave blank unless you set one)
- database: my_site_new
-
Start WAMP
- Launch WAMP and ensure both Apache and MySQL services are running (green icon).
-
Run the Project
- In your browser, go to: http://localhost/my_site_new
- If you encounter errors, check for missing dependencies or PHP extensions in WAMP.
- If there’s a README or INSTALL file in the repo, follow any extra steps mentioned.