How to deploy from subfolder?
My main project lies in a subfolder of my main-branch! I couldn't find any option in railway for selecting subfolder! Can't I deply it from subfolder?
26 Replies
Project ID:
N/A
thanks for the referrence but do i have to go to my codebase for changing? Is there no option to select or write the subfolder in ui?
strangely enough, that docs section leaves out where you would find this setting, its in the service settings, no code changes needed
its saying no start command could be found
but inside my server folder package,json there is a start command in the script
what did you set the root dir to?
/server
send me the package.json in the server folder please?
w8 for a minute something is happening
i think it worked
but how can i acces it now?
if you havent generated a domain, go into the service settings and generate a domain
i recommend taking a look through the service settings, just so you know what settings are available
ok but i can see only project settings and normal deployment settings
where is service settings
open the service and then click the settings tab
this part?
that is the service settings tab yes
so only domain related thing i can see is railway config path or something like that
spend a little time looking, dont give up so easily
you are able to use your scroll wheel to scroll through the settings
clciking on that says not found
but in local host in route / i can see my project express serving some static files
you just created it, please be patient
ok! I am very new to software engineering ! Noob you can say! But heard of railway is very much easier to deploy! And very much impressed also with the help service!
Will wait until something comes sir!!
Solution
i am able to load your site from the domain now
yeah worked !
Thanks a lot ! thoguh there some database issues! I have to fix now but on your half it's working fine! Thanks a lot for the help and patience!
❤️bye
no problem 🙂