I don't know why i can't deploy on Railway
picen02
HOBBYOP

2 years ago

I give this error: No start command could be found, but i wrote:

-pip install -r requirements.txt in Custom Build Command

-streamlit run "Home.py" in Custom Start Command

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

2 years ago

Neither of those commands would be correct for a streamlit app.

Please check out the example streamlit app that is ready to deploy to Railway here - https://github.com/brody192/streamlit-hello

You will need to remove your custom build and start commands, then copy the repos railway.json file into your project.

Please see the repo's README for more information.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...