Skip to content

Latest commit

 

History

History
47 lines (45 loc) · 1.15 KB

README.md

File metadata and controls

47 lines (45 loc) · 1.15 KB

ita-landing

Installation

  1. Clone the repo to your computer
git clone https://github.com/IT-Academy-BCN/ita-landing.git
  1. On your terminal, navigate to the folder location
cd ita-landing
  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
  1. Install node if you don't have it on your computer: https://nodejs.org/en/download
  2. Install Vite by running:
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)