Skip to content

Commit

Permalink
document default login credentials (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Feb 14, 2024
1 parent ba755d0 commit a65ba68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
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

0 comments on commit a65ba68

Please sign in to comment.