- PHP 8 or higher
- NodeJS 10 or higher
- Composer
- Install composer dependencies
composer install
- Install node dependencies
yarn install
or
npm install
- Build frontend asset
yarn dev
or
npm run dev
-
Copy
.env.example
to.env
and fill out the database informations -
Run migrations and seeders
php artisan migrate --seed
or
php artisan migrate
php artisan db:seed
- Run Laravel server
php artisan serve
You can access the project at http://localhost:8000
- Run Laravel Sail
./vendor/bin/sail up -d
- Run migrations and seeders
./vendor/bin/sail artisan migrate --seed
./vendor/bin/phpunit
./vendor/bin/sail test