One github project with 2 different projects
shiftsad
HOBBYOP

2 years ago

How would I deploy my github project, where I have two folders.

One for my go backend

and the other my vite frontend.

Is there a way I can upload both projects at the same time, when I import my Github project?

Solved

17 Replies

shiftsad
HOBBYOP

2 years ago

N/A


2 years ago

you can can just set the deployment source as the folder you want to deploy, e.g:

https://github.com/peter/crack_overflow/backend


2 years ago

Railway has a neat tutorial about monorepos here that you might find helpful:


shiftsad
HOBBYOP

2 years ago

Fair enough, thanks


shiftsad
HOBBYOP

2 years ago

I've missed that part, that is exactly my situation


2 years ago

here is a full end to end setup tutorial -


2 years ago

Thanks brody!


2 years ago

Awesome, glad you found the solution


2 years ago

and vite was mentioned, fragly, you know the drill


shiftsad
HOBBYOP

2 years ago

<:pepeScared:885139966143889451>


2 years ago

oh true


2 years ago

for the optimal frontend experience on Railway, you'd want to serve your app through a reverse proxy like Caddy or NGinx

Brody has a useful template for that here:

generally you can just copy and paste the nixpacks.toml and Caddyfile into your frontend's root, it'll take care of all the deployment configurations for you to serve your app optimally


shiftsad
HOBBYOP

2 years ago

Will look into it, thanks


2 years ago

neat, goodluck!


shiftsad
HOBBYOP

2 years ago

Perfect! (Using Caddy btw)

1334650048855801877


2 years ago

Awesome!!!


2 years ago

!s


Status changed to Solved dev over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...