This is the project for my CEN 342 UI Design course at Epoka University. It is a school management system that has 3 main roles: Student, Teacher and Admin. It is developed with PHP, Laravel, Bootstrap and MySQL.
You need to have some applications installed locally in order to run this project.
- Install PhpStorm as and IDE for the project. When installing, make sure to add bin folder to the PATH environment variable.
- Install XAMPP 7.4.24 for using the php language and administrating the database. Open XAMPP's control panel and install Apache and MySQL services.
- Install NodeJS for installing front end-dependencies.
- Install Composer for installing php dependencies.
- Install GIT for version control.
First you are going to clone the github repository. Open command prompt and run the following commands:
git clone https://github.com/ComputerGeek5/Epoka-Interactive-System
Open the project.
Next you have to install front-end dependencies with npm and php dependencies with composer.
Head to the PhpStorm terminal and run the following commands:
composer install
npm install
npm run dev
Now you need to make some changes in our project folder.
- go to the project folder and create a new file and name it .env
- copy everything from .env.example into this new file
- configure .env file with your database credentials
- run the following command to set the application's key:
php artisan key:generate
To run the project successfully, make sure to always have Apache and MySQL apps up and running in XAMPP Control Panel.
Run the following command to create a symbolic link for storage which contains the profile pictures of users and other files:
php artisan storage:link
To setup the app's database, first create a database and name it eis_db in phpMyAdmin. For migrating and seeding the databases you have to run the following commands:
php artisan migrate
php artisan db:seed
Finally, all you have to do is run the project with this command:
php artisan serve
You can preview the application with this url: localhost:8000 (default).