No description
Find a file
Kevin Adametz 405df0a122
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
first commit
2025-10-20 17:53:02 +02:00
.devcontainer first commit 2025-10-20 17:53:02 +02:00
.github/workflows first commit 2025-10-20 17:53:02 +02:00
app first commit 2025-10-20 17:53:02 +02:00
bootstrap first commit 2025-10-20 17:53:02 +02:00
config first commit 2025-10-20 17:53:02 +02:00
database first commit 2025-10-20 17:53:02 +02:00
dev first commit 2025-10-20 17:53:02 +02:00
public first commit 2025-10-20 17:53:02 +02:00
resources first commit 2025-10-20 17:53:02 +02:00
routes first commit 2025-10-20 17:53:02 +02:00
storage/debugbar first commit 2025-10-20 17:53:02 +02:00
tests first commit 2025-10-20 17:53:02 +02:00
.editorconfig first commit 2025-10-20 17:53:02 +02:00
.env.example first commit 2025-10-20 17:53:02 +02:00
.gitattributes first commit 2025-10-20 17:53:02 +02:00
.gitignore first commit 2025-10-20 17:53:02 +02:00
artisan first commit 2025-10-20 17:53:02 +02:00
ASSET-URLS-GUIDE.md first commit 2025-10-20 17:53:02 +02:00
CLAUDE.md first commit 2025-10-20 17:53:02 +02:00
composer.json first commit 2025-10-20 17:53:02 +02:00
composer.lock first commit 2025-10-20 17:53:02 +02:00
docker-compose.yml first commit 2025-10-20 17:53:02 +02:00
DOMAINS-CONFIG.md first commit 2025-10-20 17:53:02 +02:00
FINAL-FIX-SUMMARY.md first commit 2025-10-20 17:53:02 +02:00
FINALE-ASSET-URL-FIXES.md first commit 2025-10-20 17:53:02 +02:00
FORTIFY-SANCTUM-SETUP.md first commit 2025-10-20 17:53:02 +02:00
package-lock.json first commit 2025-10-20 17:53:02 +02:00
package.json first commit 2025-10-20 17:53:02 +02:00
phpunit.xml first commit 2025-10-20 17:53:02 +02:00
pr-copilot.code-workspace first commit 2025-10-20 17:53:02 +02:00
Readme.md first commit 2025-10-20 17:53:02 +02:00
setup-new-asset-urls.sh first commit 2025-10-20 17:53:02 +02:00
tailwind.config.js.deprecated first commit 2025-10-20 17:53:02 +02:00
tailwind.portal.config.js first commit 2025-10-20 17:53:02 +02:00
tailwind.web.config.js first commit 2025-10-20 17:53:02 +02:00
THEME-INTEGRATION.md first commit 2025-10-20 17:53:02 +02:00
VITE-SETUP-NEUE-STRUKTUR.md first commit 2025-10-20 17:53:02 +02:00
VITE-SETUP.md first commit 2025-10-20 17:53:02 +02:00
vite.config-de.js first commit 2025-10-20 17:53:02 +02:00
vite.portal.config.js first commit 2025-10-20 17:53:02 +02:00
vite.web.config.js first commit 2025-10-20 17:53:02 +02:00
WICHTIG-NAECHSTE-SCHRITTE.md first commit 2025-10-20 17:53:02 +02:00
ZUSAMMENFASSUNG-VITE-SETUP.md first commit 2025-10-20 17:53:02 +02:00

Multi-Domain Laravel-Anwendung

Übersicht

Diese Laravel-Anwendung unterstützt verschiedene Domains mit unterschiedlichen Styles:

Installation

  1. Repository klonen
  2. Abhängigkeiten installieren:
    composer install
    npm install
    
  3. Umgebungsvariablen konfigurieren (siehe .env.example und DOMAINS-CONFIG.md)
  4. Laravel-Anwendung initialisieren:
    php artisan key:generate
    php artisan migrate
    
  5. Assets kompilieren:
    npm run build
    npm run build:admin
    npm run build:web
    

Domain-Konfiguration

Die Domains werden über die .env-Datei konfiguriert. Für detaillierte Anweisungen siehe DOMAINS-CONFIG.md.

Lokaler Entwicklungsserver

php artisan serve

Asset-Kompilierung

Diese Anwendung verwendet Vite mit verschiedenen Konfigurationen:

  • Hauptkompilierung: npm run dev oder npm run build
  • Admin-Assets: npm run build:admin
  • Web-Assets: npm run build:web

Domain-Simulation

Während der Entwicklung können Domains simuliert werden, ohne die Hosts-Datei zu bearbeiten:

  1. In der .env-Datei: DEV_SIMULATE_DOMAIN=true
  2. Gewünschte Domain angeben: DEV_SIMULATED_DOMAIN=landing1.local

Favicons

Um Platzhalter-Favicons für alle konfigurierten Domains zu generieren:

php artisan domains:generate-favicons