Skip to content

Commit 1a4766f

Browse files
committed
Feature/Major: Include HeadlessBenchmarker as a submodule
Different, but also related!
1 parent 7414065 commit 1a4766f

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "headless"]
2+
path = headless
3+
url = https://github.com/NetLogo/HeadlessBenchmarker

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ npm install
3232
npm run build
3333
```
3434

35+
### Headless NetLogo
36+
37+
This one allows you to run against a headless version of the actual NetLogo desktop application.
38+
39+
```sh
40+
cd headless
41+
sbt 'run "../Ants.nlogox"'
42+
```
43+
44+
Unlike the other options here, you cannot see it run in the browser. Its functionality could be expanded to hook into the `mirroring` stuff used by the Tortoise tests, so that you could render the `mirroring` output as JSON and read it in the browser. But this is left as an exercise for the reader.
45+
3546
### Viewing the model in action
3647

3748
From the root of the repository, launch an HTTP server, like this:

headless

Submodule headless added at 90c99da

0 commit comments

Comments
 (0)