From 0a15ef022b4f387d2f62282881f465e2f019daf3 Mon Sep 17 00:00:00 2001 From: Chamila Date: Tue, 27 Feb 2024 01:15:32 +1300 Subject: [PATCH] Add a section to dev guide on non-local development (#10049) This adds a section with instructions on editing the source to run the Web UI against a non-local backend server. This resolves #10048 --- docs/docs/development/contributing.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/development/contributing.md b/docs/docs/development/contributing.md index bc08afbc9..572b9768c 100644 --- a/docs/docs/development/contributing.md +++ b/docs/docs/development/contributing.md @@ -155,6 +155,12 @@ cd web && npm install cd web && npm run dev ``` +##### 3a. Run the development server against a non-local instance + +To run the development server against a non-local instance, you will need to +replace the `localhost` values in `vite.config.ts` with the IP address of the +non-local backend server. + #### 4. Making changes The Web UI is built using [Vite](https://vitejs.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com).