Make sure your .env
is configured to run with an sqlite instance DB_CONNECTION=sqlite
. Then you can run
composer run dev
Note
If this is the first time you're running the server use php artisan migrate
to generate the db tables.
Make sure you have docker
and docker compose
installed. If you haven't, check the docker installation guide and the docker compose installation guide.
Then the only thing you need to run is
composer run dev-docker
Note
If this is the first time you're running the server use vendor/bin/sail artisan migrate