chore: docker compose
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-10-27 15:53:58 +05:45
parent eba9e5f182
commit f92727fad4
4 changed files with 110 additions and 37 deletions

21
setup.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Copy environment file
cp .env.example .env
# Install PHP dependencies
docker-compose run --rm composer install
# Generate application key
docker-compose run --rm php artisan key:generate
# Run migrations
docker-compose run --rm php artisan migrate
# Install Node.js dependencies
docker-compose run --rm npm install
# Build frontend assets
docker-compose run --rm npm run build
echo "Setup complete! Run 'docker-compose up -d' to start the application."