Skip to content
Open
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
7 changes: 7 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Commands

<!-- prettier-ignore -->
::: mkdocs-click
:module: warren.cli
:command: cli
:depth: 1
2 changes: 2 additions & 0 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ license = {file = "LICENSE.md"}
keywords = ["Analytics", "xAPI", "LRS", "LTI"]
dependencies = [
"mike==2.1.1",
"mkdocs-click==0.8.1",
"mkdocs-material==9.5.27",
"mkdocs==1.6.0",
"neoteroi-mkdocs==1.0.5",
"pymdown-extensions==10.8.1",
"warren-api",
]

[project.urls]
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ theme:
markdown_extensions:
- admonition
- attr_list
- mkdocs_click
- smarty
- toc:
permalink: True
Expand All @@ -71,6 +72,7 @@ markdown_extensions:

nav:
- "Warren": index.md
- "CLI": cli.md
- "Plugins": plugins.md
- "Warren-TdBP": tdbp.md
- "Contributing": contribute.md
Expand Down
10 changes: 5 additions & 5 deletions src/api/core/warren/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Settings(BaseSettings):
DEBUG: bool = False

# LRS backend
LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl]
LRS_AUTH_BASIC_USERNAME: str
LRS_AUTH_BASIC_PASSWORD: str
LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl] = "http://ralph:8200" # type: ignore
LRS_AUTH_BASIC_USERNAME: str = "ralph"
LRS_AUTH_BASIC_PASSWORD: str = "secret"

# Warren server
SERVER_PROTOCOL: str = "http"
Expand Down Expand Up @@ -65,8 +65,8 @@ class Settings(BaseSettings):
API_TEST_DB_NAME: str = "test-warren-api"

# Token
APP_SIGNING_ALGORITHM: str
APP_SIGNING_KEY: str
APP_SIGNING_ALGORITHM: str = "HS256"
APP_SIGNING_KEY: str = "SigningKeyToChange__NOT_SUITABLE_FOR_PRODUCTION"

# Sentry
SENTRY_DSN: Optional[str] = None
Expand Down