-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
It depends on which IDE you use to develop on the backend, but in general there is nothing special to do. Of course you must also have a PostgreSQL database running at the location expected in the app's configuration properties, see the README for an example Docker command-line. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yes, but it should not be necessary. This is just to provide the built version of the frontend (HTML/CSS/JS/images) as static assets for the backend to serve at :8080 when in production. In your case, if you run your front on e.g. :5173 and use that from your browser, it will talk to the backend APIs at :8080 but never ask for the frontend assets there. |
Beta Was this translation helpful? Give feedback.
-
Yes, you are right, this is not necessary) |
Beta Was this translation helpful? Give feedback.
OK, thanks for answer!
I don't want to change the backend, I take it as is. I found the following solution for myself
I commented out the sirius-web-frontend dependency so it doesn't run the frontend
I don't understand Java. Did I turn off the front module correctly?
Next, I modified sirius-web/packages/sirius-web/frontend/sirius-web/vite.config.js so that requests are proxied to a different url
And changed sirius-web/packages/sirius-web/frontend/sirius-web/.env.development