#How to deploy from subfolder?

37 messages · Page 1 of 1 (latest)

azure ravine
#

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?

frozen compassBOT
#

Project ID: N/A

violet falconBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

verbal flower
azure ravine
#

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?

verbal flower
#

strangely enough, that docs section leaves out where you would find this setting, its in the service settings, no code changes needed

azure ravine
#

its saying no start command could be found

#

but inside my server folder package,json there is a start command in the script

verbal flower
#

what did you set the root dir to?

azure ravine
#

/server

verbal flower
#

send me the package.json in the server folder please?

azure ravine
#

w8 for a minute something is happening

#

i think it worked

#

but how can i acces it now?

verbal flower
#

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

azure ravine
#

ok but i can see only project settings and normal deployment settings

#

where is service settings

verbal flower
#

open the service and then click the settings tab

azure ravine
#

this part?

verbal flower
#

that is the service settings tab yes

azure ravine
#

so only domain related thing i can see is railway config path or something like that

verbal flower
#

spend a little time looking, dont give up so easily

#

you are able to use your scroll wheel to scroll through the settings

azure ravine
#

clciking on that says not found

#

but in local host in route / i can see my project express serving some static files

verbal flower
#

you just created it, please be patient

azure ravine
#

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!!

verbal flower
#

i am able to load your site from the domain now

azure ravine
#

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

violet falconBOT