Skip to content

Commit 8ac25d3

Browse files
authored
fix(example): update readme for bank_transfer example (#276)
1 parent 22b2048 commit 8ac25d3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/bank_reserves/Readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ To install the dependencies use pip and the requirements.txt in this directory.
2222

2323
## Interactive Model Run
2424

25-
To run the model interactively, use `mesa runserver` in this directory:
25+
To run the model interactively, use `solara run app.py` in this directory:
2626

2727
```
28-
$ mesa runserver
28+
$ solara run app.py
2929
```
3030

31-
Then open your browser to [http://127.0.0.1:8521/](http://127.0.0.1:8521/), select the model parameters, press Reset, then Start.
31+
Then open your browser to [http://localhost:8765/](http://localhost:8765/), select the model parameters, press Reset, then Start.
3232

3333
## Batch Run
3434

@@ -43,11 +43,10 @@ To update the parameters to test other parameter sweeps, edit the list of parame
4343

4444
## Files
4545

46+
* ``app.py``: Launches visualization on Solara. Customize the visualization here.
4647
* ``bank_reserves/random_walker.py``: This defines a class that inherits from the Mesa Agent class. The main purpose is to provide a method for agents to move randomly one cell at a time.
4748
* ``bank_reserves/agents.py``: Defines the People and Bank classes.
4849
* ``bank_reserves/model.py``: Defines the Bank Reserves model and the DataCollector functions.
49-
* ``bank_reserves/server.py``: Sets up the interactive visualization server.
50-
* ``run.py``: Launches a model visualization server.
5150
* ``batch_run.py``: Basically the same as model.py, but includes a Mesa BatchRunner. The result of the batch run will be a .csv file with the data from every step of every run.
5251

5352
## Further Reading

0 commit comments

Comments
 (0)