You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3) The following commands will build all services, run them in the background, and then stream the logs.
20
-
1) Standard development: will use a pre-built version of the frontend that will not have hot-reloading enabled, but will make startup time faster when restarting the stack.
21
-
```sh
22
-
# Build the frontend (only needed the first time starting the stack and after modification to the frontend component)
23
-
(cd ui && yarn install && yarn build)
24
-
```
25
-
```sh
26
-
# Start the whole compose stack
27
-
docker compose up -d
28
-
29
-
# To stream the logs
30
-
docker compose logs -f django celeryworker ui
31
-
# Ctrl+c to close the logs
32
-
```
33
-
If there's a need to update the frontend while using this override, simply re-build the frontend to load the new changes.
34
-
```sh
35
-
(cd ui && yarn build)
36
-
```
37
-
38
-
2) With Hot Reload UI: Hot reload is enabled for frontend development, but the primary web interface will be slow to load at startup and later restarts.
39
-
```sh
40
-
# Run docker compose with the override config
41
-
docker compose -f docker-compose.yml -f docker-compose-frontend-dev.override.yml up -d
42
-
```
43
-
44
-
4) Optionally, run additional ML processing services: `processing_services` defines ML backends which wrap detections in our FastAPI response schema. The `example` app demos how to add new pipelines, algorithms, and models. See the detailed instructions in `processing_services/README.md`.
19
+
20
+
2) The following commands will build all services, run them in the background, and then stream the logs.
21
+
22
+
```sh
23
+
docker compose up -d
24
+
docker compose logs -f django celeryworker ui
25
+
# Ctrl+c to close the logs
26
+
```
27
+
28
+
3) Optionally, run additional ML processing services: `processing_services` defines ML backends which wrap detections in our FastAPI response schema. The `example` app demos how to add new pipelines, algorithms, and models. See the detailed instructions in `processing_services/README.md`.
45
29
46
30
```
47
31
docker compose -f processing_services/example/docker-compose.yml up -d
48
32
# Once running, in Antenna register a new processing service called: http://ml_backend_example:2000
49
33
```
50
34
51
-
5) Access the platform the following URLs:
35
+
4) Access the platform the following URLs:
52
36
53
37
- Primary web interface: http://localhost:4000
54
38
- API browser: http://localhost:8000/api/v2/
@@ -60,7 +44,7 @@ A default user will be created with the following credentials. Use these to log
0 commit comments