Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.43.1
Deploy SafetyMaster Pro to Railway
Why Railway?
- Docker-native platform
- Built-in domain and HTTPS
- Easy GitHub integration
- Automatic deployments
- Affordable pricing (~$5-20/month)
Quick Deploy Steps
1. Prepare Your Repository
# Make sure your Docker setup is ready
git add .
git commit -m "Prepare for Railway deployment"
git push origin main
2. Deploy to Railway
- Go to railway.app
- Sign up with GitHub
- Click "New Project" → "Deploy from GitHub repo"
- Select your safetyMaster repository
- Railway will auto-detect Dockerfile and deploy!
3. Configure Environment Variables
In Railway dashboard:
FLASK_ENV=production
PYTHONUNBUFFERED=1
4. Access Your App
Railway provides:
- Custom domain:
your-app-name.railway.app
- HTTPS automatically enabled
- Persistent storage for violation captures
Pricing
- Hobby: Free tier (limited hours)
- Pro: $5/month base + usage
- Perfect for production safety monitoring
Deploy Command
# One-click deploy button for README
[](https://railway.app/new/template?template=https://github.com/YOUR_USERNAME/safetyMaster)