Skip to content

How to run a Laravel project on your local machine

Suppose you have a Laravel project made by somebody else and you need to install it to run on your Windows machine.

  1. Un-archive the project in a folder inside your XAMPP htdocs folder;
  2. Make sure you have Artisan working correctly;
  3. Do the following steps in your console:

composer install
check .env file
php artisan migrate
php artisan key:generate
php artisan db:seed
php artisan make:auth

For more information on the first two steps you can read the previous two posts in our blog.

Published inCodingLaravel