Skip to content
Snippets Groups Projects
Commit 034ea10e authored by Max Lou's avatar Max Lou
Browse files

Update README.md

parent 83c15b71
No related branches found
No related tags found
No related merge requests found
Pipeline #916730 failed
......@@ -87,6 +87,27 @@ Update analytics engine scheduler
docker compose exec -it scheduler sh -c 'scheduler read-configs'
```
### Create visualization token
```bash
curl -X POST http://localhost:8004/api/v1/provider/visualization-tokens/create --data '{"engines": ["count_h5p_statements", "count_moodle_statements"]}' -H "Content-Type: application/json"
```
Returns JWT Token for dashboard
```
{"token":[JWT_TOKEN]"}
```
### Start dashboard
1. Clone ![https://git.rwth-aachen.de/polaris/entwicklung/dashboard-example](Dashboad SDK example)
- ```bash
cd dashboard-example
npm install
```
2. Update `TOKEN` in `dashboard-example/src/js/app.js`
3. Run `npm run dev`
## Update Docker Images
```bash
docker compose pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment