tklein1801
PROOP
2 years ago
Hi, it's my first time doing something with Python and I wanna deploy my flask backend but I'm having some trouble running it on Railway.
Here are some infos
```json railway.json
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "gunicorn --chdir src wsgi:app",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}
py
from app import app
if name == "main":
app.run()
```
if you need anything feel free to text me 🙂
4 Replies
2 years ago
what troubles are you having?
2 years ago
please use the bookmarklet -