Welcome to the SpaceCE project! This guide will walk you through the steps needed to set up and run the application on your local machine.
Before you begin, ensure you have the following installed on your system:
- XAMPP: A free and open-source cross-platform web server solution stack package.
- MySQL: A relational database management system.
- Open Git Bash.
- Navigate to the
htdocsdirectory of your XAMPP installation. This is usually located at:C:\xampp\htdocs - Clone the repository using the following command:
git clone https://github.com/SpacECE-India-Foundation/spacece.git- Change to the spacece directory:
cd spaceceEnsure you are in the spacece directory. Run the following command to switch to the Harshul-Varshney-bugfix branch:
git checkout Harshul-Varshney-bugfixOpen the XAMPP Control Panel. Start both Apache and MySQL services by clicking the "Start" buttons next to each service.
Open Google Chrome (or any other web browser). Enter the following URL in the address bar: http://localhost/spacece
-
Open Google Chrome and go to phpMyAdmin by entering: http://localhost/phpmyadmin
-
Create Databases: In phpMyAdmin, click on the Databases tab. Create a new database for each SQL dump file provided. Use a relevant name for each database.
-
Import SQL Dumps: Select the newly created database from the left sidebar. Click on the Import tab. Click Choose File and select the SQL dump file. Click Go to start the import process. Repeat this step for each SQL dump file.
-
Troubleshooting Application Not Loading: Ensure both Apache and MySQL services are running. Database Connection Issues: Double-check the database names and import process.