Remove Google Chrome RPM package file

This commit is contained in:
Torsten Schulz (local)
2025-11-20 15:52:04 +01:00
parent eadec50e30
commit 5ca017950e
4 changed files with 246 additions and 0 deletions

36
update.sh Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
echo "=== YourPart Update Script ==="
echo "Dieses Script aktualisiert die Anwendung OHNE .env-Dateien zu überschreiben"
echo ""
# Prüfen ob wir im richtigen Verzeichnis sind
if [ ! -f "package.json" ]; then
echo "Error: Please run this script from the YourPart3 root directory"
exit 1
fi
# Prüfen ob sudo verfügbar ist
if ! command -v sudo &> /dev/null; then
echo "Error: sudo is required but not installed"
exit 1
fi
# Backend updaten
echo ""
echo "=== Updating Backend ==="
./update-backend.sh
# Frontend bauen und updaten
echo ""
echo "=== Building and Updating Frontend ==="
./update-frontend.sh
echo ""
echo "=== Update Completed! ==="
echo "Your application has been updated."
echo ""
echo "To check logs:"
echo " Backend: sudo journalctl -u yourpart.service -f"
echo " Apache: sudo tail -f /var/log/apache2/yourpart.*.log"