deckhearth/deploy.sh

27 lines
No EOL
724 B
Bash
Executable file

#!/bin/bash
# TCG Vault Deployment Script
echo "🚀 Building TCG Vault for Production..."
# Build React frontend
echo "📦 Building frontend..."
cd frontend
npm run build
# Create deployment package
echo "📋 Creating deployment package..."
cd ..
mkdir -p deployment/frontend
cp -r frontend/build/* deployment/frontend/
echo "✅ Build complete!"
echo ""
echo "📁 Deployment files ready in: ./deployment/frontend/"
echo ""
echo "Next steps:"
echo "1. Upload ./deployment/frontend/* to your DreamHost public_html folder"
echo "2. Deploy backend to Railway using the railway.toml config"
echo "3. Update REACT_APP_API_URL in production with your Railway backend URL"
echo ""
echo "🌟 Your TCG Vault will be live!"