generated from Luis/nextjs-python-web-template
readme for --emulate flag
This commit is contained in:
@@ -73,12 +73,11 @@ sudo echo "experimental-features = nix-command flakes" > '/etc/nix/nix.conf'
|
|||||||
|
|
||||||
- To start the backend server, execute:
|
- To start the backend server, execute:
|
||||||
```bash
|
```bash
|
||||||
clan webui --reload --no-open --log-level debug --populate
|
clan webui --reload --no-open --log-level debug --populate --emulate
|
||||||
```
|
```
|
||||||
- The server will automatically restart if any Python files change.
|
- The server will automatically restart if any Python files change.
|
||||||
- The `--populate` flag will automatically populate the database with dummy data
|
- The `--populate` flag will automatically populate the database with dummy data
|
||||||
|
- The `--emulate` flag will automatically run servers the database with dummy data for the fronted to communicate with (ap, dlg, c1 and c2)
|
||||||
- To emulate some distributed system behavior run `python3 tests/emulate_fastapi.py`
|
|
||||||
|
|
||||||
8. **Build the Frontend**:
|
8. **Build the Frontend**:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user