Table of Contents
Quick Start
Initial Setup
# 1. Abhängigkeiten installieren, .env anlegen, Migrations ausführen, Assets bauen
composer setup
# 2. Storage-Symlink erstellen (einmalig)
php artisan storage:link
# 3. Entwicklungsserver starten (Server + Queue + Log-Tail + Vite parallel)
composer dev
After startup, the admin panel can be accessed athttp://localhost:8000/admin
.
Commands
| Command | Purpose |
|---|---|
composer dev |
|
| Start development server | |
composer test |
|
| Clear config cache and run tests | |
npm run build |
|
| Build frontend assets for production | |
./vendor/bin/pint |
|
| Check/correct code style | |
php artisan migrate |
|
| Run database migrations | |
php artisan migrate:fresh |
|
| Reset database and re-migrate |
Production
php artisan config:cache
php artisan route:cache
php artisan view:cache
npm run build
Git Workflow
-main
— Production branch
-dev
— Development branch
-
Feature branches:
feature/PROJ-<id>-<slug> -
Commit prefix:
PROJ-<id>: beschreibung