Skip to content

Commit

Permalink
fixup! 📝(api) add CLI documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wilbrdt committed Jul 18, 2024
1 parent b43488f commit bfd568c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Commands

<!-- prettier-ignore -->
::: mkdocs-click
:module: warren.cli
:command: cli
Expand Down
1 change: 1 addition & 0 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies = [
"mkdocs==1.6.0",
"neoteroi-mkdocs==1.0.5",
"pymdown-extensions==10.8.1",
"warren-api==0.5.0",
]

[project.urls]
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"
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

0 comments on commit bfd568c

Please sign in to comment.