Skip to content

Commit d290402

Browse files
committed
clarify readme
1 parent 50557cd commit d290402

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/flower-client/README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ See `https://fedn.readthedocs.io/en/stable/quickstart.html` for general run deta
1313
that the flower client handles data distribution programatically, so data related steps can be
1414
omitted. To run this example after initializing fedn with the `seed.npz` and `package` that
1515
can be generated through `bin/build`, continue with building a docker image containing the flower
16-
dependencies:
16+
dependencies. From the repository root execute:
1717

1818
.. code-block::
1919
2020
docker build --build-arg REQUIREMENTS=examples/flower-client/requirements.txt -t flower-client .
2121
22-
In separate terminals, start clients and inject the `CLIENT_NUMBER` dependency, for example for client1:
22+
In separate terminals, navigate to this folder, start clients and inject the `CLIENT_NUMBER`
23+
dependency, for example for client1:
2324

2425
.. code-block::
2526

examples/flower-client/client/entrypoint

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _get_flower_client():
2424
# Set sys.argv to mimic command-line input required by flower_client.py
2525
sys.argv = ["flower_client.py", "--node-id", _get_node_id()]
2626
# Import flower client
27-
import flwr_client
27+
import flwr_client # noqa
2828

2929
sys.argv = original_argv
3030
flower_client = flwr_client.FlowerClient()

0 commit comments

Comments
 (0)