Spaces:
Runtime error
Runtime error
File size: 1,186 Bytes
0469d65 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
#!/bin/bash
# SafetyMaster Pro - Web Deployment Guide
echo "π‘οΈ SafetyMaster Pro - Quick Web Deployment"
echo "=========================================="
# Commit any changes
echo "π Committing changes..."
git add .
git commit -m "Deploy SafetyMaster Pro: $(date)" || echo "No changes to commit"
echo ""
echo "π Your SafetyMaster Pro is ready for deployment!"
echo ""
echo "Due to large AI model files, web deployment is recommended:"
echo ""
echo "π DEPLOYMENT STEPS:"
echo "1. Go to: https://railway.app"
echo "2. Click 'New Project'"
echo "3. Select 'Deploy from GitHub repo'"
echo "4. Choose your 'safetyMaster' repository"
echo "5. Railway will auto-detect Dockerfile and deploy!"
echo ""
echo "β±οΈ Expected deployment time: 3-5 minutes"
echo "πΎ Models will be downloaded automatically during build"
echo ""
echo "π After deployment, you'll get a URL like:"
echo " https://safetymaster-production.railway.app"
echo ""
# Ask if user wants to open Railway
read -p "π Open Railway in browser now? (y/n): " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
open "https://railway.app"
fi
echo ""
echo "β
Ready for deployment! Follow the steps above." |