Python Flask Deployment
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

tklein1801
PROOP

2 years ago

a35820a6-1b37-4177-96c4-4596a56ec62


tklein1801
PROOP

2 years ago


2 years ago

what troubles are you having?


2 years ago

please use the bookmarklet -


Loading...