2024-06-19 09:11:51 -05:00
|
|
|
This is the Frigate frontend which connects to and provides a User Interface to the Python backend.
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
# Web Development
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
## Installing Web Dependencies Via NPM
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
Within `/web`, run:
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
```bash
|
|
|
|
npm install
|
|
|
|
```
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
## Running development frontend
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
Within `/web`, run:
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
```bash
|
|
|
|
PROXY_HOST=<ip_address:port> npm run dev
|
2023-12-08 07:33:22 -06:00
|
|
|
```
|
|
|
|
|
2024-06-19 09:11:51 -05:00
|
|
|
The Proxy Host can point to your existing Frigate instance. Otherwise defaults to `localhost:5000` if running Frigate on the same machine.
|
|
|
|
|
|
|
|
## Extensions
|
|
|
|
Install these IDE extensions for an improved development experience:
|
|
|
|
- eslint
|