# Project Setup Guide
This guide will walk you through the steps to import a MySQL database, set up a local development environment using XAMPP, and run the project on your local machine.
## Step 1: Clone the Repository
```bash
git clone https://github.com/your-username/your-repository.git
Download and install XAMPP from https://www.apachefriends.org/index.html.
- Open phpMyAdmin (usually available at http://localhost/phpmyadmin/).
- Create a new database (e.g.,
prelove_db
). - Import the
prelove.sql
file located in the repository into the newly created database.
Move the cloned repository to the htdocs
folder inside your XAMPP installation directory.
For example:
mv your-repository /path-to-xampp/htdocs/
- Start XAMPP and ensure Apache and MySQL servers are running.
- Open your web browser and navigate to http://localhost/your-repository/.
Now, you should be able to access the project locally on your browser.
- If you encounter any issues, check the error logs in XAMPP (
/path-to-xampp/apache/logs/error.log
and/path-to-xampp/mysql/data/mysql_error.log
). - Ensure that the database connection settings in the project match the database configuration in XAMPP.
Replace placeholders like `your-username`, `your-repository`, and `/path-to-xampp/` with your actual GitHub username, repository name, and the path to your XAMPP installation.