cp .env.example .envStart by updating the .env file with the correct database credentials. At a minimum, you'll need to update the DB_CONNECTION, DB_USER, and DB_PASSWORD items. This step must be done first!
Next, run the following sets of commands:
composer install
php artisan key:generate --ansi
php artisan migrate:fresh --seed
npm ci && npm devgit pull origin dev
composer install
npm ci && npm dev
php artisan migrate:refresh --seed