a year ago
Hi! I am looking for some help trying to deploy my app usingRailway. I am trying to connect my empty serivice to my GitHub Repo, but when I do this I receive this error? Can some assist please?
47 Replies
a year ago
That's interesting
a year ago
Where exactly did you click that lead to this page?
a year ago
let me see if I can reproduce
a year ago
I can't, probably because I have my GitHub connected already and you didn't
a year ago
Tried from that page and still can't reproduce
It seems it wanted me to authroize github account, and i had to do it a different way
a year ago
Could you check if your GitHub is connected in your [account settings]()
a year ago
oh cool, I figured so
a year ago
Did you go through your account settings to connect your GitHub then?
I tried to configure to Github Repo instead of starting with an empty service. Then it authorized it there. Thanks for trying to help me!! i appreciate it
a year ago
Awesome, thank you for clarifying
I'll let the team know because this definitelly doesn't seem like intended behaviour 🤣
thanks for bringing this up
a year ago
All good, mind sharing your logs then?
yes sorry forgot how to do this… the link is in my bookmark, but how do i get the deploy log in there again?
a year ago
You just go to your build logs and click the bookmark
a year ago
are you sure these are actual errors? it seems to me like it's just stderr instead of stdout which some apps do for some reason
a year ago
if the app is running but you're getting application failed to respond then it could just be misconfiguration
this might help:
i am only trying to deploy the frotnend of an angular app. i didnt do/setup the backend(whichi i usually use nodejs/express for) so would that be an issue at all in deploying or shouldn't be related?
a year ago
When deploying frontend only apps on Railway, you'd want to use some sort of reverse proxy to serve them properly like Caddy. Railway is not really technically equipped to properly serve static files
Try taking the nixpacks.toml and Caddyfile from [this template]() and throw it into your project and you should be good to go
okay! i did do that, but mayvbe mine wasn't updated for angular 17. trying now!!
here's my github repo: https://github.com/ChiomaGrace/inRhythmAssessment/tree/main
a year ago
I think your repo is private
a year ago
No worries, I believe the issue is that your Angular app is embedded in the frontend folder, are you deploying your app from that folder? if so then you might need to place the nixpacks.toml and Caddyfile within that folder as well, otherwise you'd want to consider removing the files from frontend and placing them in the root of the repo
a year ago
Awesome, happy to help 🙂
a year ago
You too!


