This project combines Laravel as the backend framework with bootstrap + jQuery for the frontend. Follow the instructions below to set up and run the project.
-
Clone the repository:
https://github.com/imsat/bit-mascot-test.git
-
Install Laravel dependencies:
composer install
-
Install Laravel dependencies:
cp .env.example .env
-
Update the database configuration in the .env file:
DB_CONNECTION=mysql DB_HOST=your_database_host DB_PORT=your_database_port DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Update the mail configuration in the .env file:
MAIL_MAILER=mail_service_name MAIL_HOST=your_mail_host MAIL_PORT=your_mail_port MAIL_USERNAME=your_mail_username MAIL_PASSWORD=your_mail_password MAIL_ENCRYPTION=your_mail_encription MAIL_FROM_ADDRESS=your_mail_from_address
-
Generate the application key:
php artisan key:generate
-
Run database migrations and seed data:
php artisan migrate --seed
-
Create the symbolic link for storage:
php artisan storage:link
- Run the Laravel development server:
php artisan serve
- Access the application in your browser:
Open your browser and navigate to http://127.0.0.1:8000 or desired port show in your terminal.
- The login page for the application will be shown. Enter the application with the credentials listed below.
- Email
admin@localhost.local
- Password
admin