openui icon indicating copy to clipboard operation
openui copied to clipboard

Front End and Deployment

Open codingbjorn opened this issue 1 year ago • 2 comments

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

codingbjorn avatar May 24 '24 02:05 codingbjorn

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.

vanpelt avatar May 25 '24 00:05 vanpelt

please can anyone help me i am trying to code a game here but it is not working

ven907 avatar Jul 28 '24 06:07 ven907