Error: No start command could be found
ayushkumar28
TRIALOP

2 years ago

Error: No start command could be found

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies

2 years ago

Have you specified a start command? For example if this is a nodejs app then you need to add your start command in your package.json file


ayushkumar28
TRIALOP

2 years ago

no , i have not specified it , but its a flask app , i cant find config file to add it


2 years ago

You'd want to run your flask app via gunicorn

Copy and pasting this railway.json file into your project should do the trick https://github.com/railwayapp-templates/flask/blob/main/railway.json (make sure you have gunicorn specified in your requirements.txt)


Loading...