diff --git a/examples/server-functions/README.rst b/examples/server-functions/README.rst index e34553e09..1661fe980 100644 --- a/examples/server-functions/README.rst +++ b/examples/server-functions/README.rst @@ -16,16 +16,19 @@ Full commands to run through the API client: Get your token from the settings page in your studio project and add it in your system environment. .. code-block:: + export FEDN_AUTH_TOKEN= Connect through the APIClient from a python instance, you can find your controller host on the studio Dashboard page. .. code-block:: + from fedn import APIClient client = APIClient(host="", secure=True, verify=True) Start a session with your ServerFunctions code (assuming you have uploaded a model seed, compute package and have connected clients). .. code-block:: + from server_functions import ServerFunctions - client.start_session(server_functions=ServerFunctions) \ No newline at end of file + client.start_session(server_functions=ServerFunctions)