Steps:
-
copy .env.example to .env
-
update .env file and change db connection to DB_CONNECTION=sqlite and remove the following lines since we will be using sqlite
DB_HOST=127.0.0.1 ``` DB_PORT=3306 ``` DB_DATABASE=laravel ``` DB_USERNAME=root ``` DB_PASSWORD= ```
-
create database.sqlite at directory database
-
composer install from your bash command
-
npm run prod
-
php artisan migrate
-
php artisan run serve