Clone laravel-bjyblog with git:

git clone && cd laravel-bjyblog 

Rename the .env.docker file to .env :

cp .env.docker .env  

Into the php container

docker-compose exec php bash

Composer install:

composer install  

Application Key:

php artisan key:generate  


php artisan migrate  


php artisan db:seed  

If you visit the site before db:seed, you need to clear cache:

php artisan cache:clear

To create the symbolic link:

php artisan storage:link

Add laravel-bjyblog.test to hosts file laravel-bjyblog.test

Use a browser to open http://laravel-bjyblog.test