Clone the project
git clone https://github.com/Denis10491/blog
Install dependencies
composer install
npm install
Copy from .env.example to .env and configure the configurations described above
Connect image storage
php artisan storage:link
Run docker build an application image
docker build -t app .
Run docker compose
docker-compose up -d
Generate application key
docker-compose exec app php artisan key:generate
Run migrations and seeds
docker-compose exec app php artisan migrate:fresh --seed
Run a local server for the client side
npm run dev
Open project: http://127.0.0.1:8000