Docs: mention --disable-auth for local UI checks (#32414)
This commit is contained in:
parent
a86c0e2bb1
commit
f4a8708bfb
2 changed files with 8 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ This file provides guidance to AI coding agents when working with code in this r
|
|||
- `make lint-ui` - run frontend linting
|
||||
- `vp run dev` - start Vue dev server (http://127.0.0.1:7071)
|
||||
- `vp run playwright` - run integration tests
|
||||
- `evcc --config [file] --disable-auth` - run a throw-away instance for UI checks without password setup
|
||||
- `evcc --template-type [type] --template [file]` - test device templates
|
||||
- `make docs` - generate template documentation
|
||||
|
||||
|
|
|
|||
|
|
@ -128,6 +128,13 @@ vp install
|
|||
vp run dev
|
||||
```
|
||||
|
||||
Start the backend with `--disable-auth` when checking the configuration UI of a
|
||||
throw-away instance. Without it the UI asks for an administrator password first.
|
||||
|
||||
```sh
|
||||
./evcc --config tests/config-with-tariffs.evcc.yaml --disable-auth
|
||||
```
|
||||
|
||||
### Storybook
|
||||
|
||||
We're using storybook to develop and visualize UI components in different states. Running the command below will open your browser at http://127.0.0.1:6006/.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue