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?
17 Replies
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:
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
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
2 years ago
neat, goodluck!
2 years ago
Awesome!!!
2 years ago
!s
Status changed to Solved dev • over 1 year ago
