Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
32 lines
487 B
Bash
Executable File
32 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "🏗️ Building Gitgram for Production..."
|
|
|
|
# Backend
|
|
echo "📦 Building backend..."
|
|
cd backend
|
|
npm install --production=false
|
|
npx prisma generate
|
|
npm run build
|
|
echo "✅ Backend built"
|
|
cd ..
|
|
|
|
# Frontend
|
|
echo "📦 Building frontend..."
|
|
cd web
|
|
npm install
|
|
npm run build
|
|
echo "✅ Frontend built"
|
|
cd ..
|
|
|
|
# Mobile (optional)
|
|
echo "📦 Building mobile..."
|
|
cd mobile
|
|
npm install
|
|
echo "✅ Mobile dependencies installed"
|
|
cd ..
|
|
|
|
echo "🎉 All builds complete!"
|