One github project with 2 different projects
shiftsad
HOBBYOP

a year 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

a year ago

N/A


a year 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


a year ago

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


shiftsad
HOBBYOP

a year ago

Fair enough, thanks


shiftsad
HOBBYOP

a year ago

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


a year ago

here is a full end to end setup tutorial -


a year ago

Thanks brody!


a year ago

Awesome, glad you found the solution


a year ago

and vite was mentioned, fragly, you know the drill


shiftsad
HOBBYOP

a year ago

<:pepeScared:885139966143889451>


a year ago

oh true


a year 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

a year ago

Will look into it, thanks


a year ago

neat, goodluck!


shiftsad
HOBBYOP

a year ago

Perfect! (Using Caddy btw)

1334650048855801900


a year ago

Awesome!!!


a year ago

!s


Status changed to Solved dev about 1 year ago


Loading...