Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskiesel committed Jun 19, 2024
1 parent b826568 commit d561dc6
Show file tree
Hide file tree
Showing 29 changed files with 72 additions and 61 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# GenIRSim

Quickstart:
```
npm install
npm exec simulate-search configurations/default-configuration.json > eval.json
```

To run web server:
```
npm install ws
npm exec simulation-server
```


## Maintenance
```
npm run doc
```
2 changes: 2 additions & 0 deletions bin/simulation-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ server.on("upgrade", (request, socket, head) => {
webSocketServer.emit("connection", websocket, request);
});
});

console.log("Starting server on port " + PORT);
server.listen(PORT);

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion doc/api/config.yml → docs/api/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
toc:
- name: GenIRSim
description: |
TODO [[code](https://github.com/webis-de/scriptor)] [[package](https://www.npmjs.com/package/@webis-de/scriptor)]
TODO [[code](https://github.com/webis-de/GenIRSim)] [[package](https://www.npmjs.com/package/@webis-de/scriptor)]
- run
- simulate
- evaluate
Expand Down
108 changes: 54 additions & 54 deletions doc/api/index.html → docs/api/index.html

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@
"simulation-server": "bin/simulation-server.js"
},
"scripts": {
"doc": "documentation build -f html -o doc/api/ --github --config doc/api/config.yml"
"doc": "documentation build -f html -o docs/api/ --github --config docs/api/config.yml"
},
"dependencies": {
"jsonrepair": "^3.8.0"
"jsonrepair": "^3.8.0",
"ws": "^8.17.1"
},
"type": "module",
"author": "Johannes Kiesel <[email protected]>",
"license": "MIT",
"dependencies": {
"ws": "^8.17.1"
}
"license": "MIT"
}

0 comments on commit d561dc6

Please sign in to comment.