- run
$ composer install
- change database credentials in .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
-
If you have a problem about a too long key size during the database migration, follow theses instructions : https://laravel-news.com/laravel-5-4-key-too-long-error
-
run
$ php artisan migrate
-
run
$ php artisan db:seed