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

Update README.md

parent 977c9cd8
No related branches found
No related tags found
No related merge requests found
Pipeline #916826 failed
......@@ -106,11 +106,23 @@ Returns JWT Token for dashboard
{"token":[JWT_TOKEN]"}
```
### Filling DB with random statements
1. Clone rights-engine
2. Create provider config
```bash
$ cd rights-engine/tools/xapi-statement-generator
$ cp provider_config.json.example provider_config.json
````
3. Open `provider_config.json` and insert Application Tokens (visible at http://localhost:8004 (Rights Engine UI), if you login as a provider)
4. Run `python generator.py -t http://localhost:8003/xapi/statements -r`
### Start dashboard
1. Clone ![https://git.rwth-aachen.de/polaris/entwicklung/dashboard-example](Dashboad SDK example)
- `cd dashboard-example`
2. Download latest `@polaris/dashboard-sdk-X.X.X.tgz` from registry and `npm install @polaris/dashboard-sdk-1.0.2.tgz` it
2. Download latest `@polaris/dashboard-sdk-X.X.X.tgz` from registry and `npm install @polaris/dashboard-sdk-1.0.2.tgz` it (TODO: improve with npm login)
2. Update `TOKEN` in `dashboard-example/src/js/app.js`
3. Run `npm run dev`
3. Visit http://localhost:8005/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment