copy .env.example .env
Then, we need to install packages that installed in composer, where that packages will be saved in vendor
folder, run command:
composer install
php artisan key:generate
Then, if this laravel application have a database, create a new database. Then, adjust DB_DATABASE
, DB_USERNAME
, DB_PASSWORD
and DB_HOST
in .env
file.
php artisan migrate:fresh --seed
php artisan serve