2 years ago
Hello, I'm trying to deploy monorepo (two isolated services), the documentation says that you should change the root path, yet I don't have such option available on Railway project dashboard. furthermore it's not clear how would I setup two independent services, would they require 2 separate railway.json config files for each service? I couldn't find any exhaustive resource on this topic.
Any help would be much appreciated!
14 Replies
2 years ago
the root directory setting would be found in the service settings tab.
once you have your project open there's a + New button in the top right, deploy two services from the same repo, once done set the applicable root directory for each service, I don't think you'd need a railway.json for this.
but can you tell me a bit more about your frontend? what's the tech stack?
I'm using Flowise embedded tag to embed in a plain react project built with vite
2 years ago
interesting
the only input fields where I can specify any kind of path in my service settings is Healthcheck path and** Watch paths**
2 years ago
please look a little closer there is definitely a root directory setting
2 years ago
Source
2 years ago
not at all, its easy to overlook
Thank you <@539512869780455445> I should be able to deal with the rest, thanks to your insight!
2 years ago
no problem!