nitrokite/frontend/build.sh
Farid Siddiqi a1360919f0
Some checks failed
Build and Deploy API Server & Frontend / deploy (push) Blocked by required conditions
Build and Deploy API Server & Frontend / build-backend (push) Has been cancelled
Build and Deploy API Server & Frontend / build-frontend (push) Has been cancelled
Add frontend React dashboard with CI/CD deployment pipeline
2025-12-25 22:08:03 -08:00

21 lines
406 B
Bash
Executable File

#!/bin/bash
set -e
echo "🔨 Building Nitrokite Frontend..."
# Navigate to frontend directory
cd "$(dirname "$0")"
# Install dependencies if needed
if [ ! -d "node_modules" ]; then
echo "📦 Installing dependencies..."
npm install
fi
# Build the application
echo "🏗️ Building production bundle..."
npm run build
echo "✅ Build complete! Output in ./dist/"
echo "📦 Ready to deploy"