How to add Rust-project when using GitLab?
I use GitLab and thus can't log into my GitHub-account from Railway when using the "Rust Rocket"-template.
To work around this issue, I added an empty service. Now on this empty service, I can't build my server because
cargo
isn't available.
What can I do to fix this issue?16 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Whoops, those were the deploy-logs.
Here you go:
My main problem seems to be that I can't add a Template because then railway.app forces me to log in via GitHub.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Railway really doesn't like me trying to copy all of that log, but I think this one should be complete:
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I have two folders,
cargo.toml
is in backend/
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'll assume I need an isolated monorepo?
I already tried this by changing the required fields (see screenshot), but it still says
cargo: command not found
I did this on my main "block"
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Took a while, but here you go:
Is there some easy way to obtain the logs? Railway loves cutting off parts of the copied content. Here's the start of the log:
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
No, it failed during the build-process
There's still a server-error.
Deploy-logs: