Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for the director-envoy 1.2 update #154

Merged
merged 54 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4de49ad
initial doc structure change
igor-davidyuk Aug 11, 2021
015019b
add utilities folder
igor-davidyuk Aug 11, 2021
eff4994
test image import
igor-davidyuk Aug 11, 2021
30daa63
fixes
igor-davidyuk Aug 11, 2021
aa148cb
added architecture section
igor-davidyuk Aug 11, 2021
a3eea9a
restructure docs
igor-davidyuk Aug 12, 2021
2e9ffa6
moving package structure to index
igor-davidyuk Aug 12, 2021
b9a9778
ignore fix
igor-davidyuk Aug 12, 2021
f736ede
Restructure openfl section
igor-davidyuk Aug 13, 2021
fe1eb32
openfl docs restructuring
igor-davidyuk Aug 13, 2021
bfaf979
introduced director-based workflow
igor-davidyuk Aug 13, 2021
62c31af
fix
igor-davidyuk Aug 13, 2021
c320b53
another fix
igor-davidyuk Aug 13, 2021
1ae7e18
Federation setup flow
igor-davidyuk Aug 13, 2021
d8452bc
list fix
igor-davidyuk Aug 13, 2021
a4541fd
added text
igor-davidyuk Aug 13, 2021
eb47b03
added director start commands
igor-davidyuk Aug 13, 2021
bcb3400
added envoy commands
igor-davidyuk Aug 13, 2021
091ac13
fox commands
igor-davidyuk Aug 13, 2021
7ebd91e
Small typo fixes
igor-davidyuk Aug 13, 2021
02ac0f6
Changed titels
igor-davidyuk Aug 13, 2021
81c0e6c
Added interactive API sections
igor-davidyuk Aug 13, 2021
df9288e
attempt to structure the new workflow
igor-davidyuk Aug 16, 2021
6e6799a
attempts #2
igor-davidyuk Aug 16, 2021
165a902
restructuring
igor-davidyuk Aug 16, 2021
10d5834
attempt #4
igor-davidyuk Aug 16, 2021
04c98f2
director based workflow merged
igor-davidyuk Aug 16, 2021
3062683
merging #2
igor-davidyuk Aug 16, 2021
f2b38df
fill director workflow
igor-davidyuk Aug 16, 2021
0aad5ca
director starting procedure
igor-davidyuk Aug 17, 2021
edb36a0
envoy starting procedure described
igor-davidyuk Aug 17, 2021
c6377fe
docs gitignore change
igor-davidyuk Aug 17, 2021
6e219aa
Fixing the python API section
igor-davidyuk Aug 17, 2021
71c7f18
a few typo fixes
igor-davidyuk Aug 17, 2021
1fb71e2
fixing python api docs
igor-davidyuk Aug 17, 2021
1b44a3f
interactive api section changes
igor-davidyuk Aug 18, 2021
343b9fe
finished editing director workflow
igor-davidyuk Aug 18, 2021
7631268
Finished text description
igor-davidyuk Aug 19, 2021
6e5ca3c
rebased on develop
igor-davidyuk Aug 19, 2021
5e5b8f3
resolving comments in pr
igor-davidyuk Aug 20, 2021
bbc52b0
plugins test
igor-davidyuk Aug 20, 2021
3a69dbb
small rewrite
igor-davidyuk Aug 20, 2021
bf4443a
filled plugins section
igor-davidyuk Aug 23, 2021
babd067
typo fixes for plugins
igor-davidyuk Aug 23, 2021
50016c9
added a link to a shard descriptor interface
igor-davidyuk Aug 24, 2021
3d62157
fix italic
igor-davidyuk Aug 24, 2021
c5dbae9
more fix italic
igor-davidyuk Aug 24, 2021
f02a9de
moved and fixed data splitters
igor-davidyuk Aug 25, 2021
48b835b
fixes
igor-davidyuk Aug 25, 2021
6f3c66d
moved the old workflow to sources
igor-davidyuk Aug 25, 2021
29bd5f9
static diagram + fixes
igor-davidyuk Aug 27, 2021
b25c4f8
alexey's changes
igor-davidyuk Aug 31, 2021
1b2dbd8
added a static diagram
igor-davidyuk Aug 31, 2021
4d43610
static diagram section
igor-davidyuk Aug 31, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
openfl*
models*
# openfl*
# models*
# data*
/_build
**/.ipynb_checkpoints
1 change: 0 additions & 1 deletion docs/advanced_topics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ Advanced Topics
overriding_agg_fn
bash_autocomplete_activation
log_metric_callback
data_splitting
10 changes: 10 additions & 0 deletions docs/bash_autocomplete_activation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ If not use the instruction :ref:`install_initial_steps`.

Create ~/.fx-autocomplete.sh script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This step need to be done only one time when you don't have `~/.fx-autocomplete.sh` or `~/.fx-autocomplete.sh` have corrupted content.

.. code-block:: console

$ _FX_COMPLETE=bash_source fx > ~/.fx-autocomplete.sh

Check that command was executed correctly.

.. code-block:: console

$ cat ~/.fx-autocomplete.sh

Console output should look like example below (Click==8.0.1), but could be different depend on `Click https://click.palletsprojects.com/en/8.0.x/`_ version:

.. code-block:: console

_fx_completion() {
local IFS=$'\n'
local response
Expand Down Expand Up @@ -57,15 +62,20 @@ Create ~/.fx-autocomplete.sh script

Activate autocomplete feature
~~~~~~~~~~~~~~~~~~~~~

This step should be done every time when you open a new terminal window.

.. code-block:: console

$ source ~/.fx-autocomplete.sh

Auto activation autocomplete
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To save your time you can add autocomplete activation step to `~/.bashrc`.

.. code-block:: bash
. ~/.fx-autocomplete.sh

Save `~/.bashrc`.
Open new terminal to use updated `~/.bashrc`.
3 changes: 2 additions & 1 deletion docs/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ Manual
******

.. toctree::
:maxdepth: 4
:maxdepth: 2

overview
install
running_the_federation
plan_settings
source/utilities/utilities
advanced_topics
13 changes: 13 additions & 0 deletions docs/openfl.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. # Copyright (C) 2020-2021 Intel Corporation
.. # SPDX-License-Identifier: Apache-2.0

******
OpenFL structure
******

.. toctree::
:maxdepth: 4

source/openfl/components
.. source/openfl/communication
source/openfl/plugins
228 changes: 0 additions & 228 deletions docs/running_the_federation.interactive_api.rst

This file was deleted.

10 changes: 3 additions & 7 deletions docs/running_the_federation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ First make sure you've installed the software :ref:`using these instructions <in
The high-level workflow is shown in the figure above. Note that once OpenFL is installed on all nodes of the federation and every member of the federation has a valid PKI certificate, all that is needed to run an instance of a federated workload is to distribute the workspace to all federation members and then run the command to start the node (e.g. :code:`fx aggregator start`/:code:`fx collaborator start`). In other words, most of the work is setting up an initial environment on all of the federation nodes that can be used across new instantiations of federations.

.. toctree::
:maxdepth: 4
:maxdepth: 2

running_the_federation.notebook
running_the_federation.baremetal
running_the_federation.docker
running_the_federation.certificates
running_the_federation.start_nodes.rst
running_the_federation.interactive_api
source/workflow/running_the_federation.agg_based
source/workflow/director_based_workflow
12 changes: 12 additions & 0 deletions docs/source/openfl/communication.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. # Copyright (C) 2020-2021 Intel Corporation
.. # SPDX-License-Identifier: Apache-2.0

******
|productName| inter-component communication
******

.. toctree::
:maxdepth: 2

`...`_
`...`_