Skip to content

GabrielaMaureira/fourthSprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fourthSprint

Laravel framework. Project about a football management.

Home view for a guest

Installation

  1. Clone the repo to your computer
git clone https://github.com/GabrielaMaureira/fourthSprint.git
  1. On your terminal, navigate to the folder location
cd soccerLeague
  1. Run composer install. (If you don't have composer on your computer, install it: https://getcomposer.org/download/)
composer install
  1. Create a MySQL database on your computer. (If you don't have it, you can install Xampp, which also includes PHP: https://www.apachefriends.org/download.html).
  2. Configure the .env file of your project for your system to match the database. Fields that you must match:
DB_HOST
DB_PORT
DB_DATABASE
DB_USERNAME
DB_PASSWORD
  1. Create an application key
php artisan key:generate
  1. Migrate the database by typing on the terminal:
php artisan migrate --seed
  1. Install npm:
npm install
  1. Run the Vite server:
npm run dev
  1. Run the Laravel server in another terminal:
php artisan serve

Use the route returned by the last command to access the app (typically http://127.0.0.1:8000)