Create docker exec -i $(docker ps -q -f ancestor=postgres:15) psql -U integral -d integral -f postgres/migrations/01_schema.sql
Browse files
docker exec -i $(docker ps -q -f ancestor=postgres:15) psql -U integral -d integral -f postgres/migrations/01_schema.sql
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
If that command fails, list containers (`docker ps`) and substitute container id.
|
| 2 |
+
|
| 3 |
+
5. Open services:
|
| 4 |
+
- Apollo GraphQL: http://localhost:4000/
|
| 5 |
+
- Dashboard: http://localhost:3000/
|
| 6 |
+
- Detection service: POST `/detect` to http://localhost:3001/detect
|
| 7 |
+
|
| 8 |
+
## Test the flow (example)
|
| 9 |
+
1. Post a detection (cURL):
|