Skip to content

Makefile Commands

All commands are run from the project root.

CommandDescription
make setupFirst setup: build, install dependencies, generate key, run migrations
make devStart all services in the background
make downStop all services
make restartStop and restart all services
make buildBuild/rebuild all Docker containers
make psShow the status of running containers
make logsFollow the logs of all services
CommandDescription
make dev-serverStart backend + MySQL + Redis
make dev-webStart only the web
make dev-iosStart only the App Store scraper
make dev-androidStart only the Google Play scraper
CommandDescription
make installInstall all dependencies (Composer + npm)
make keyGenerate the Laravel APP_KEY
make migrateRun database migrations
make seedRun database seeders
make freshFresh migration with seed
make artisan ...Run any artisan command (e.g., make artisan migrate:fresh --seed)
make composer ...Run any composer command (e.g., make composer require foo/bar)
make cache-clearClear all caches (optimize:clear)
make route-listList routes
make queue-restartRestart queue workers
make scheduleRun the scheduler once
make tinkerOpen the Laravel Tinker REPL
make shellOpen a shell in the server container
CommandDescription
make npm ...Run any npm command in the web container (e.g., make npm install axios)
CommandDescription
make swaggerGenerate OpenAPI documentation (L5-Swagger)
make api-generateGenerate the TypeScript API client (Orval)
make apiRun both: swagger + api-generate
CommandDescription
make lintRun all linters (pint + eslint)
make pintRun the PHP code style fixer (Laravel Pint)
make lint-webRun ESLint (web)
CommandDescription
make logsFollow the logs of all services
make logs-serverFollow only the server logs
make logs-webFollow only the web logs
make logs-iosFollow the App Store scraper logs
make logs-androidFollow the Google Play scraper logs
CommandDescription
make cleanStop containers, remove volumes and orphan containers
make nukeFull cleanup: containers, volumes, and local images
CommandDescription
make versionShow the current version from the VERSION file
make build-prodBuild multi-platform images and push to Docker Hub
make release v=X.Y.ZFull release: bump version, build, push, create git tag