Enhance deployment scripts and frontend components for improved functionality and styling
- Added dependency installation step in deploy-frontend.sh and update-frontend.sh to ensure all required packages are available before building the frontend. - Updated AppNavigation.vue to change background color for better visual appeal. - Refactored FamilyView.vue to include 3D character models for both the user and their relationships, enhancing the visual representation of family dynamics. - Modified OverviewView.vue to switch from 3D character rendering to a 2D avatar display, improving loading performance and user experience.
This commit is contained in:
@@ -45,6 +45,18 @@ echo "VITE_API_BASE_URL=$VITE_API_BASE_URL"
|
||||
echo "VITE_DAEMON_SOCKET=$VITE_DAEMON_SOCKET"
|
||||
echo "VITE_CHAT_WS_URL=$VITE_CHAT_WS_URL"
|
||||
|
||||
# 5a. Dependencies installieren
|
||||
echo "Installiere Dependencies..."
|
||||
npm install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "❌ npm install fehlgeschlagen!"
|
||||
# Temporäre .env-Datei aufräumen
|
||||
rm -f "$TEMP_ENV"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 5b. Frontend neu bauen
|
||||
npm run build
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user