Make sure you have the following installed on your system:
-
Open your terminal (Git Bash or CMD).
-
Verify installations:
composer --version npm --version git --version
-
Set up your Git credentials:
git config --global user.name "Your Name" git config --global user.email "your@example.com"
-
Clone the repository:
git clone https://github.com/aldrin112602/Web-Ed.git
-
Navigate to the project directory:
code Web-Ed
This will open VS Code with your project.
-
Open a terminal in VS Code and follow these steps.
Install PHP dependencies:
composer installInstall JavaScript dependencies:
npm installSet up symbolic link for storage:
php artisan storage:link-
Start PHP server (first terminal):
npm run serve
-
Compile assets with Node.js (second terminal):
npm run dev
Ensure Apache and MySQL are running in XAMPP.
Run migrations to set up your database:
npm run migrateRun the seeder to populate the database with the new data:
npm run seed