2024-06-19 16:11:51 +02:00
|
|
|
This is the Frigate frontend which connects to and provides a User Interface to the Python backend.
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
# Web Development
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
## Installing Web Dependencies Via NPM
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
Within `/web`, run:
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
```bash
|
|
|
|
npm install
|
|
|
|
```
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
## Running development frontend
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
Within `/web`, run:
|
2023-12-08 14:33:22 +01:00
|
|
|
|
2024-06-19 16:11:51 +02:00
|
|
|
```bash
|
|
|
|
PROXY_HOST=<ip_address:port> npm run dev
|
2023-12-08 14:33:22 +01:00
|
|
|
```
|
|
|
|
|
2024-06-19 16:11:51 +02: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
|