Welcome to the PG Life website repository! This website is designed to provide a platform for postgraduate students to explore various resources.
To run this website locally on your machine using XAMPP, follow these steps:
-
Download XAMPP: Download and install XAMPP, a free and open-source cross-platform web server solution stack package.
-
Setup in XAMPP:
- Locate your XAMPP installation directory and navigate to the
htdocsfolder. - Create a new folder named
pglifewithin thehtdocsfolder. - Copy all the contents of this repository into the
pglifefolder you just created.
- Locate your XAMPP installation directory and navigate to the
-
Database Setup:
- Open XAMPP Control Panel and start the Apache and MySQL services.
- In your web browser, navigate to
http://localhost/phpmyadmin. - Create a new database named
pglife. - Import the provided SQL file
pglife tables.sqlto create all the necessary tables in thepglifedatabase. - Import the provided dummy data SQL file
dummy_data.sqlto populate the tables with sample data.
-
Database Connection:
- Navigate to the
includesfolder within thepglifedirectory. - Open the
database_connect.phpfile. - Modify the
mysqli_connectfunction parameters:- Replace
your_passwordwith your database password (if applicable). - Replace
pglifewith your database name (if different).
- Replace
- Navigate to the
-
Accessing the Website:
Once the setup is complete, you can access the PG Life website locally and explore its features.
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to submit a pull request.
This project is licensed under the MIT License.
If you have any questions or need further assistance, feel free to contact us at darshanmrd17@gmail.com.
Thank you for using the PG Life website! 🎓✨


