R
Railway7mo ago
LVKVLVS

Can't deploy monorepo, can't change root path

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!
Solution:
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?...
Jump to solution
14 Replies
Percy
Percy7mo ago
Project ID: 259d1b72-3a1f-4f53-b7d3-1be3161c1e4a
LVKVLVS
LVKVLVS7mo ago
project-id: 259d1b72-3a1f-4f53-b7d3-1be3161c1e4a
Solution
Brody
Brody7mo 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?
LVKVLVS
LVKVLVS7mo ago
I'm using Flowise embedded tag to embed in a plain react project built with vite
Brody
Brody7mo ago
interesting
LVKVLVS
LVKVLVS7mo ago
the only input fields where I can specify any kind of path in my service settings is Healthcheck path and Watch paths or I'm an idiot and missing something very obvious
Brody
Brody7mo ago
please look a little closer there is definitely a root directory setting
LVKVLVS
LVKVLVS7mo ago
which sub section would it be? I could provide screenshot
Brody
Brody7mo ago
Source
LVKVLVS
LVKVLVS7mo ago
Ok, there's a small option to specify it, thank you! I'm an idiot
Brody
Brody7mo ago
not at all, its easy to overlook
LVKVLVS
LVKVLVS7mo ago
Thank you @Brody I should be able to deal with the rest, thanks to your insight!
Brody
Brody7mo ago
no problem!
LVKVLVS
LVKVLVS7mo ago
For those who might've also overlooked
No description
Want results from more Discord servers?
Add your server