backend: separate App and server, add websocket endpoint, accept data directory command argument. initialize sqlalchemy database and models in new module. frontend: create backend class for managing ws connection, move ui to chat_screen, create scaffold chat and agent classes.
This commit is contained in:
1 parent
1e82796db1
commit
44f0b3589c
19 files changed
+936
-122
No files matched your search
@@ -2,9 +2,9 @@
|
||||
|
||||
To run the Flask server, follow these steps:
|
||||
|
||||
1. Build and activate the virtual environment and install the required dependencies:
|
||||
1. Build and activate the virtual environment, install the required dependencies, and build the gui by running make with the default target:
|
||||
```bash
|
||||
make install
|
||||
make
|
||||
```
|
||||
2. Run the server using the provided script:
|
||||
```bash
|
||||
@@ -17,3 +17,6 @@ Now, visit `http://127.0.0.1:5000` in your web browser to see the application in
|
||||
|
||||
Frontend uses flutter. For Ubuntu you can use [this guideline](https://ubuntu.com/blog/getting-started-with-flutter-on-ubuntu) to install it.
|
||||
|
||||
## Configuration
|
||||
|
||||
You can set the backend URL for Android and native builds using the environment variable `BACKEND_URL`. Make sure to set this variable before running the application. Defaults to `null` if nothing is set.
|
||||
Reference in new issue
Block a user