Add missing frontend platform components and update production deployment

This commit adds all previously untracked files and modifications needed for production deployment:
- New marketing components (BenefitsSection, CodeBlock, PluginShowcase, PricingTable)
- Platform admin components (EditPlatformEntityModal, PlatformListRow, PlatformListing, PlatformTable)
- Updated deployment configuration and scripts
- Various frontend API and component improvements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
poduck
2025-11-30 19:49:06 -05:00
parent 0d1a3045fb
commit 2b321aef57
34 changed files with 1930 additions and 1291 deletions

View File

@@ -34,14 +34,14 @@ print_error() {
}
# Step 1: Build frontend
print_status "Step 1: Building frontend..."
cd "$PROJECT_DIR/frontend"
if [ ! -d "node_modules" ]; then
print_warning "Installing frontend dependencies..."
npm install
fi
npm run build
print_status "Frontend build complete!"
print_status "Step 1: Skipping local build (building on server)..."
# cd "$PROJECT_DIR/frontend"
# if [ ! -d "node_modules" ]; then
# print_warning "Installing frontend dependencies..."
# npm install
# fi
# npm run build
# print_status "Frontend build complete!"
# Step 2: Prepare deployment package
print_status "Step 2: Preparing deployment package..."
@@ -53,8 +53,9 @@ rsync -av --exclude='.venv' --exclude='__pycache__' --exclude='*.pyc' \
--exclude='.git' --exclude='node_modules' \
"$PROJECT_DIR/smoothschedule/" /tmp/smoothschedule-deploy/backend/
# Copy frontend build
rsync -av "$PROJECT_DIR/frontend/dist/" /tmp/smoothschedule-deploy/frontend/
# Copy frontend source
rsync -av --exclude='node_modules' --exclude='dist' --exclude='.git' \
"$PROJECT_DIR/frontend/" /tmp/smoothschedule-deploy/frontend/
print_status "Deployment package prepared!"