I don't know why i can't deploy on Railway
picen02
HOBBY
a year 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
ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
a year 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.