- Go to Railway.app
- Connect your GitHub account
- Import your repository
- Railway will auto-deploy using the
Procfile - Your app will be live at a
railway.appsubdomain
- Go to Render.com
- Connect your GitHub repository
- Choose "Web Service"
- Settings:
- Build Command:
pip install -r requirements.txt - Start Command:
gunicorn node:app - Environment: Python 3
- Build Command:
# Install Heroku CLI
# Create Heroku app
heroku create your-blockchain-app
# Deploy
git add .
git commit -m "Deploy blockchain app"
git push heroku main
# Open your app
heroku open# Install flyctl
curl -L https://fly.io/install.sh | sh
# Launch app
fly launch
fly deploy-
Procfileconfigured for Gunicorn -
requirements.txtwith all dependencies -
runtime.txtspecifying Python version - Environment variable support for PORT
-
.gitignoreexcluding data files -
app.jsonfor Heroku deployment
| Variable | Description | Default |
|---|---|---|
PORT |
Server port | 5000 |
- Visit your live URL
- Test wallet creation
- Try mining a block
- Update README.md with live demo link
App won't start: Check logs for dependency issues
# Heroku
heroku logs --tail
# Railway
Check logs in Railway dashboardMining too slow: Adjust proof-of-work difficulty in utility/verification.py
CORS errors: Ensure Flask-CORS is properly configured in node.py