Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ Restart platform via GUI to apply changes:
.. image:: https://github.com/overhangio/tutor-deck/raw/release/images/apply.png
:alt: Apply Image

You may add HTTP basic authentication by defining the following Tutor settings::

tutor config save --set DECK_AUTH_USERNAME=myusername \
--set DECK_AUTH_PASSWORD=s3cr3tpassw0rd

Troubleshooting
***************

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ dynamic = ["version"]

[project.optional-dependencies]
dev = [
"tutor[dev]>=20.0.0,<21.0.0",
"tutor[dev]>=20.0.0,<21.0.0",
"types-aiofiles",
"types-Markdown",
"pylint",
"pylint",
"black",
]

Expand Down
2 changes: 2 additions & 0 deletions tutordeck/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
hooks.Filters.CONFIG_DEFAULTS.add_items(
[
("DECK_VERSION", __version__),
("DECK_AUTH_USERNAME", None),
("DECK_AUTH_PASSWORD", None),
]
)

Expand Down
Loading