- php >= 8.1
- install php and dependencies
sudo apt install php php-common php-curl php-sqlite3 php-mbstring php-xml composer
-
git clone && cd
-
install php library
composer i
- generate security key
php artisan key:generate --env=dev
- re-cache config
DB_DATABASE="$(pwd)/database/test.sqlite" php artisan config:cache --env=dev
- run migration
DB_DATABASE="$(pwd)/database/test.sqlite" php artisan migrate --env=dev
- run app
DB_DATABASE="$(pwd)/database/test.sqlite" php artisan serve --env=dev