Add a section to dev guide on non-local development

This adds a section with instructions on editing the source to run the
Web UI against a non-local backend server.

This resolves #10048
This commit is contained in:
chamila 2024-02-27 00:34:12 +13:00
parent 7b11ff1af6
commit 592751d7df

View File

@ -155,6 +155,12 @@ cd web && npm install
cd web && npm run dev 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 #### 4. Making changes
The Web UI is built using [Vite](https://vitejs.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com). The Web UI is built using [Vite](https://vitejs.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com).