You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-1Lines changed: 46 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ Flare AI Kit template for Social AI Agents.
78
78
uv run start-bots
79
79
```
80
80
81
-
### Interact with model
81
+
### Build Using Docker (Recommended)
82
82
83
83
The Docker setup mimics a TEE environment and includes an Nginx server for routing, while Supervisor manages both the backend and frontend services in a single container.
84
84
@@ -103,6 +103,51 @@ The Docker setup mimics a TEE environment and includes an Nginx server for routi
103
103
3.**Access the Frontend:**
104
104
Open your browser and navigate to [http://localhost:80](http://localhost:80) to interact with the tuned model via the Chat UI.
105
105
106
+
### 🛠 Build Manually
107
+
108
+
Flare AI Social is composed of a Python-based backend and a JavaScript frontend. Follow these steps for manual setup:
109
+
110
+
#### Backend Setup
111
+
112
+
1.**Install Dependencies:**
113
+
Use [uv](https://docs.astral.sh/uv/getting-started/installation/) to install backend dependencies:
114
+
115
+
```bash
116
+
uv sync --all-extras
117
+
```
118
+
119
+
2.**Start the Backend:**
120
+
The backend runs by default on `0.0.0.0:80`:
121
+
122
+
```bash
123
+
uv run start-backend
124
+
```
125
+
126
+
#### Frontend Setup
127
+
128
+
1. **Install Dependencies:**
129
+
In the `chat-ui/` directory, install the required packages using [npm](https://nodejs.org/en/download):
130
+
131
+
```bash
132
+
cd chat-ui/
133
+
npm install
134
+
```
135
+
136
+
2. **Configure the Frontend:**
137
+
Update the backend URL in`chat-ui/src/App.js`for testing:
0 commit comments