2 months ago
I am having issues deploying my project from github repo. First time deploying a website / using railway. I think it is due to outdated poetry i can't seem to update.
I am using python, flask, poetry.
id: 70f5641e-f42f-47a2-a286-95ac4cdb925e
In the logs, an old version of poetry is installed. I try to update it with the build command:
buildCommand = 'poetry self update && poetry install --with website,data_pipeline'
But only dependencies in main group seem to be installed, since i had the "gunicorn command not found" until i moved it from the website dependency group into main . Then the next dependency in the website group was showing its not installed, even though the logs show all my dependencies being installed?? Would be nice to keep my dependencies separated
startCommand = "poetry run gunicorn --workers 3 --worker-class sync --bind 0.0.0.0:$PORT crypto_site:app"
How would i go about updating poetry before installing everything to see if this fixes the issue
0 Replies
2 months ago
Hello,
I think you are looking in the wrong place for the issue, fairly certain that your pyproject.toml file is invalid, you also should not be stting that build command yourself, please remove it
I removed the build command and put everything in the main group. This worked ty
2 months ago
No problem!
2 months ago
!s
Status changed to Solved brody • 2 months ago