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

document default login credentials #168

Merged
merged 9 commits into from
Feb 14, 2024
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
3 changes: 3 additions & 0 deletions docs/tutorials/images/ragna-ui-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion docs/tutorials/web-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ You can launch the web application from the CLI:
ragna ui
```

It open in a browser window automatically.
It will open in a browser window automatically and you should see the login screen:

![ragna UI login screen with a username and password form. Both the username and
password are filled with the string "ragna" and the password is visible and not
censored](images/ragna-ui-login.png)

By default [ragna.deploy.RagnaDemoAuthentication][] is used. Thus, you can use any
username and a matching password to authenticate. For example, you can leave both fields
blank or use `ragna` / `ragna` as in the image above.

!!! tip "Under development"

Expand Down
2 changes: 1 addition & 1 deletion ragna/deploy/_ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def serve(self):
admin=True,
start=True,
location=True,
show=False,
show=True,
keep_alive=30 * 1000, # 30s
autoreload=True,
profiler="pyinstrument",
Expand Down
Loading