Manuelle Installation

Für Entwickler oder wenn Sie das Plugin direkt vom GitHub-Repository installieren möchten.

Achtung: Diese Methode ist für erfahrene Nutzer gedacht. Für die meisten Anwender ist die Store-Installation empfohlen.

Voraussetzungen

  • Git installiert

  • SSH/HTTPS-Zugriff auf Server

  • Composer verfügbar

  • Shopware-Entwicklungsumgebung

Installation via GitHub

1. Repository klonen

cd custom/plugins/
git clone https://github.com/huebertweb/HuebertDropshippingSW6.git

2. Composer Dependencies (falls vorhanden)

cd HuebertDropshippingSW6
composer install --no-dev

3. Plugin installieren

# Zurück zum Shopware-Root
cd ../../../

# Plugin registrieren
bin/console plugin:refresh

# Plugin installieren
bin/console plugin:install HuebertDropshippingSW6 --activate

# Cache leeren
bin/console cache:clear

Alternative: ZIP-Upload

1. Plugin herunterladen

# Neueste Version als ZIP
wget https://github.com/huebertweb/HuebertDropshippingSW6/archive/refs/heads/main.zip
unzip main.zip

2. Plugin hochladen

# Plugin in custom/plugins/ entpacken
mv HuebertDropshippingSW6-main custom/plugins/HuebertDropshippingSW6

3. Installation wie oben

bin/console plugin:refresh
bin/console plugin:install HuebertDropshippingSW6 --activate
bin/console cache:clear

Entwicklungsmodus

Für Plugin-Entwicklung:

# Entwicklungsmodus aktivieren
bin/console plugin:install HuebertDropshippingSW6 --activate --clearCache

# Watcher für Änderungen (optional)
bin/console theme:refresh

Verzeichnisstruktur prüfen

Nach der Installation sollte die Struktur so aussehen:

custom/plugins/HuebertDropshippingSW6/
├── src/
│   ├── Controller/
│   ├── Core/
│   ├── EventSubscriber/
│   ├── Service/
│   └── ...
├── composer.json
└── HuebertDropshippingSW6.php

Berechtigungen setzen

# Plugin-Ordner Berechtigungen
chmod -R 755 custom/plugins/HuebertDropshippingSW6/

# Shopware-Cache Berechtigungen
chmod -R 755 var/cache/

Installation prüfen

# Plugin-Status kontrollieren
bin/console plugin:list | grep HuebertDropshippingSW6

# Sollte zeigen: "Yes" für Installed und Active

Updates verwalten

Git Pull für Updates

cd custom/plugins/HuebertDropshippingSW6/
git pull origin main

# Plugin neu installieren
cd ../../../
bin/console plugin:update HuebertDropshippingSW6
bin/console cache:clear

Branch wechseln (für Entwickler)

# Auf anderen Branch wechseln
git checkout develop

# Plugin aktualisieren
bin/console plugin:update HuebertDropshippingSW6

Troubleshooting

Plugin nicht gefunden

# Plugin-Pfad prüfen
ls -la custom/plugins/HuebertDropshippingSW6/

# Plugin refreshen
bin/console plugin:refresh

Composer-Probleme

# Composer-Cache leeren
composer clear-cache

# Dependencies neu installieren
composer install --no-dev --optimize-autoloader

Datenbankfehler

# Migrationen manuell ausführen
bin/console database:migrate --all

# Plugin-spezifische Migrationen
bin/console database:migrate HuebertDropshippingSW6

Deinstallation

# Plugin deaktivieren
bin/console plugin:deactivate HuebertDropshippingSW6

# Plugin deinstallieren (behält Daten)
bin/console plugin:uninstall HuebertDropshippingSW6

# Mit Daten löschen (Vorsicht!)
bin/console plugin:uninstall HuebertDropshippingSW6 --keep-user-data=false

Installation abgeschlossen! Weiter mit der Konfiguration.

Zuletzt aktualisiert