Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front End and Deployment #139

Open
codingbjorn opened this issue May 24, 2024 · 1 comment
Open

Front End and Deployment #139

codingbjorn opened this issue May 24, 2024 · 1 comment

Comments

@codingbjorn
Copy link

I have been working in this repo for a bit now and I am having a hard time understanding the communication between the front end and the backend. I launched this on railway and it launches both front and backend, however any changes I seem to make to the front end don't get updated in the container image. Can you give any insights on URL configuration if I wanted to launch tehm seperately. When it launched completely on railway even though I was referencing the backend build files. It almost seems as though there are two separate index pages that are identical but named differently? Any insight or direction would be appreciated

@vanpelt
Copy link
Contributor

vanpelt commented May 25, 2024

Hey @codingbjorn. Running npm run build from the frontend directory will automatically copy the built assets into backend/openui/dist. That's what's going to make it into the docker container when building it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants