collabrix/frontend-production.sh
DGSoft a7ff948e7e Beta Release: Complete Kanban system with auto-save, route persistence, and UI improvements
- Added complete Kanban board functionality with drag-and-drop
- Implemented auto-save for Kanban card editing (no more edit button)
- Added route persistence to remember last visited page on reload
- Improved Kanban UI design with slimmer borders and compact layout
- Added checklist functionality for Kanban cards
- Enhanced file upload and direct messaging features
- Improved authentication and user management
- Added toast notifications system
- Various UI/UX improvements and bug fixes
2025-12-10 23:17:07 +01:00

19 lines
451 B
Bash
Executable File

#!/bin/bash
# Team Chat System - Production Frontend Server
# Serves the built React app instead of Vite dev server
PROJECT_DIR="/home/OfficeDesk/frontend"
BUILD_DIR="$PROJECT_DIR/dist"
# Erstelle Build falls nicht vorhanden
if [[ ! -d "$BUILD_DIR" ]]; then
echo "Building frontend..."
cd "$PROJECT_DIR"
npm run build
fi
# Serve die statischen Dateien
cd "$BUILD_DIR"
echo "Serving production build on port 80..."
exec serve -s . -l 80