Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
recap committed Jul 12, 2024
1 parent 797be3f commit e92e21d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,23 @@ node sessions.js create [NAME] --num [NUM OF PARTICIPANTS]

## Simple info dashboard

The server comes with a simple info page showing the number of available URLs, number of users and user ids per session.
The info page is accessed through the following path:
The server comes with a simple info pages:
- sessions: showing the number of available URLs, number of users and user ids per session. The info page is accessed through the following path:

```
http://localhost:8060/info/[EXPERIMENT_NAME]?secret=[SECRET_USED_IN_URL_PASS]
http://localhost:8060/info/sessions/[EXPERIMENT_NAME]?secret=[SECRET_USED_IN_URL_PASS]
```

E.g. for Experiment `DropOutTest`
![DropOutTest](./dropouttest_info.png)

- queues: show the queues status of the different experiments including the number of users on the start page, queued, waiting, agreed, and redirected.
```
http://localhost:8060/info/queues?secret=[SECRET_USED_IN_URL_PASS]
```

E.g. ![Queues](./queues_info.png)

## Starting the server using PM2

To manage the server with pm2, first install pm2
Expand Down
Binary file added queues_info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e92e21d

Please sign in to comment.