|
|
vor 1 Woche | |
|---|---|---|
| .. | ||
| .claude | vor 1 Woche | |
| .ddev | vor 1 Woche | |
| assets | vor 1 Woche | |
| bin | vor 1 Woche | |
| config | vor 1 Woche | |
| migrations | vor 1 Woche | |
| public | vor 1 Woche | |
| src | vor 1 Woche | |
| templates | vor 1 Woche | |
| translations | vor 1 Woche | |
| .editorconfig | vor 1 Woche | |
| .env | vor 1 Woche | |
| .env.dev | vor 1 Woche | |
| .gitignore | vor 1 Woche | |
| 1-reset-and-seed.sh | vor 1 Woche | |
| 2-update-tenant-db.sh | vor 1 Woche | |
| LICENSE | vor 1 Woche | |
| PROJEKT_KONTEXT.md | vor 1 Woche | |
| README.md | vor 1 Woche | |
| composer.json | vor 1 Woche | |
| composer.lock | vor 1 Woche | |
| deploy.sh | vor 1 Woche | |
| package-lock.json | vor 1 Woche | |
| package.json | vor 1 Woche | |
| symfony.lock | vor 1 Woche | |
| upload-build.sh | vor 1 Woche | |
| webpack.config.js | vor 1 Woche | |
cd httpdocs
ddev start
# Läuft dann unter https://timetracking.ddev.site:8459
ddev exec composer install
ddev exec npm install
sh 1-reset-and-seed.sh
# Entweder mit oder ohne Testdaten
ddev exec npm run watch
GRANT ALL PRIVILEGES ON `db_%`.* TO 'deindbuser'@'%'; FLUSH PRIVILEGES;
ddev exec php bin/console doctrine:migrations:diff --em=central --namespace=DoctrineMigrations
ddev exec php bin/console doctrine:migrations:migrate --em=central --no-interaction
Kein Migrations-Workflow — die Tenant-DB wird per SchemaTool neu angelegt:
sh reset-and-seed.sh
# Dev (einmalig)
ddev exec npm run dev
# Watch-Modus (bei Änderungen automatisch neu bauen)
ddev exec npm run watch
# Production Build
ddev exec npm run build
# Alle URLs anzeigen
ddev describe
# Cache leeren
ddev exec php bin/console cache:clear