This guide covers deploying the Startup Analyst Platform to Railway, a modern cloud platform for full-stack applications.
- Railway account (free tier available)
- GitHub repository connected
- Node.js and Python dependencies
- Go to railway.app
- Sign in with GitHub
- Click "New Project"
- Select "Deploy from GitHub repo"
- Choose
ecogetaway/startup-analyst-platform
Railway will auto-detect the configuration from:
railway.json- Railway-specific settingsnixpacks.toml- Build configurationProcfile- Start command
Add these if needed:
NODE_ENV=production
REACT_APP_DEMO_MODE=true
- Railway will automatically build and deploy
- Build process: ~3-5 minutes
- Frontend will be available at the provided Railway URL
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "cd frontend && npm start",
"healthcheckPath": "/",
"healthcheckTimeout": 100,
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}[phases.setup]
nixPkgs = ["nodejs", "npm", "python3", "pip"]
[phases.install]
cmds = [
"cd frontend && npm install",
"pip install -r requirements.txt"
]
[phases.build]
cmds = [
"cd frontend && npm run build"
]
[start]
cmd = "cd frontend && npm start"web: cd frontend && npm start
- Setup: Install Node.js, npm, Python3, pip
- Install: Install frontend dependencies and Python requirements
- Build: Build React frontend for production
- Start: Serve the application
- ✅ Auto-deployment from GitHub pushes
- ✅ Free tier available
- ✅ Custom domains supported
- ✅ Environment variables management
- ✅ Logs and monitoring built-in
- ✅ HTTPS by default
- 🎭 Demo API with 2-second analysis
- 📊 Mock results for hackathon demo
- 🚀 Fast loading and responsive UI
- 📱 Mobile-friendly design
- Check Railway logs for specific errors
- Ensure all dependencies are in
package.jsonandrequirements.txt - Verify file paths in configuration
- Check the start command in
Procfile - Verify port configuration (Railway uses PORT env var)
- Review application logs
- Railway free tier has resource limits
- Consider upgrading for production use
- Monitor usage in Railway dashboard
- Deploy to Railway
- Test the live demo
- Share Railway URL with judges
- Create demo video using Railway link
- Railway Documentation: https://docs.railway.app
- Railway Discord: https://discord.gg/railway
- GitHub Issues: For code-related problems