- Verify settings in composer.json like the project name and description
- Move .env.example or .env.prod.example to .env and edit parameters to match your project
- Make sure permission are well-defined for 1000:1000 (
sudo chown 1000:1000 /path/ -R
) - Start containers with
docker-compose up -d
- Go into the php container with
docker-compose exec php bash
- Install libs with
composer install
- Setup nodejs with
npm install
- Run either
npm run dev
ornpm run prod
- Generate application secret key with
php artisan key:generate
- Enjoy :)
- Add bootstrap
composer require laravel/ui
php artisan ui bootstrap
npm install && npm run dev