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
This commit is contained in:
Chamila
2024-02-27 01:15:32 +13:00
committed by GitHub
parent e9d4e81f77
commit 0a15ef022b

View File

@@ -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).