Skip to content

Commit

Permalink
Update instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Aug 3, 2024
1 parent d5739bb commit 404ef57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ First, make sure to have Swift 5.10+ or newer installed. Recent versions for Ubu

To run the simulation server, navigate into the directory `DistributedChatSimulationServer` and execute:

```
```sh
swift run
```

Expand All @@ -76,15 +76,15 @@ The web interface should now be accessible at `http://localhost:8080`.

To start a single instance of the CLI, make sure that the simulation server is running, navigate into `DistributedChatCLI` and execute:

```
swift run DistributedChatCLI --name Alice
```sh
swift run distributed-chat --name Alice
```

You can substitute any name for Alice. Once the CLI has started, the chosen name should show up as a node in the simulation server's web interface.

For convenience, there is a bash script for starting multiple instances of the CLI together in a single `tmux` session. To use it, navigate into the root directory of this repository and run

```
```sh
Scripts/start_clis Alice Bob Charles Dave
```

Expand Down

0 comments on commit 404ef57

Please sign in to comment.