mirror of
https://github.com/OHV-IT/collabrix.git
synced 2025-12-15 16:48:36 +01:00
- 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
19 lines
451 B
Bash
Executable File
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 |