cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature Request] Specify project in `railway run`

Open izakfilmalter opened this issue 2 years ago • 3 comments

Would be awesome to be able to specify the project when you do railway run. We have lots of projects and it's a bit of a pain to select the right project each time we do local dev.

railway run --environment=dev --project=site next dev -p 3000

izakfilmalter avatar Feb 14 '23 11:02 izakfilmalter

Hey there @izakfilmalter - are you running railway link first to specify the project?

ndneighbor avatar Feb 14 '23 18:02 ndneighbor

I am in a mono repo where several projects are located.

izakfilmalter avatar Feb 14 '23 19:02 izakfilmalter

I am in a mono repo where several projects are located.

Is it not possible to railway shell, pnpm turbo run dev ? The way I have my work monorepo set up is in this way. I always start a railway shell and then run my commands from there. If you can provide more information on how your project is set up, I might be able to help you find a solution without writing any code.

Are there multiple railway projects in one gigantic monorepo or are they all under the same project?

alexng353 avatar Jul 12 '23 23:07 alexng353