/Laravel-Student-M1

First Live Coding of Laravel Project for students - computer science - web development

Primary LanguagePHP

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Setup Instructions

Follow these steps to set up your Laravel project locally:

Prerequisites

  • PHP (version specified in your composer.json file)
  • Composer - Package manager for PHP
  • A webserver (like Apache, Nginx, etc.)
  • MySQL (Or any database that you prefer)

Installation

  1. Clone the repository
git clone {repository_path}
  1. Navigate to the project directory
cd {project-directory}
  1. Install dependencies
composer install
  1. Copy .env.example to .env
cp .env.example .env
  1. Set up your environment variables in .env file
  2. Generate application key
php artisan key:generate
  1. Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
  1. Serve the Laravel application
php artisan serve
  1. Visit the application in your browser at http://localhost:8000

License

The Laravel framework is open-sourced software licensed under the MIT license.

Last Edtion - 2022