File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : help dev-frontend dev-backend dev
1
+ .PHONY : help setup dev-frontend dev-backend dev
2
+
3
+ setup :
4
+ @echo " Installing frontend dependencies..."
5
+ @cd frontend && npm install
6
+ @echo " Installing backend dependencies..."
7
+ @cd backend && uv sync
2
8
3
9
help :
4
10
@echo " Available commands:"
@@ -12,9 +18,9 @@ dev-frontend:
12
18
13
19
dev-backend :
14
20
@echo " Starting backend development server..."
15
- @cd backend && langgraph dev
21
+ @cd backend && uv run langgraph dev
16
22
17
23
# Run frontend and backend concurrently
18
24
dev :
19
25
@echo " Starting both frontend and backend development servers..."
20
- @make dev-frontend & make dev-backend
26
+ @make dev-frontend & make dev-backend
Original file line number Diff line number Diff line change @@ -29,25 +29,16 @@ Follow these steps to get the application running locally for development and te
29
29
30
30
- Node.js and npm (or yarn/pnpm)
31
31
- Python 3.8+
32
+ - uv (https://docs.astral.sh/uv/ )
32
33
- ** ` GEMINI_API_KEY ` ** : The backend agent requires a Google Gemini API key.
33
34
1 . Navigate to the ` backend/ ` directory.
34
35
2 . Create a file named ` .env ` by copying the ` backend/.env.example ` file.
35
36
3 . Open the ` .env ` file and add your Gemini API key: ` GEMINI_API_KEY="YOUR_ACTUAL_API_KEY" `
36
37
37
38
** 2. Install Dependencies:**
38
39
39
- ** Backend:**
40
-
41
- ``` bash
42
- cd backend
43
- pip install .
44
- ```
45
-
46
- ** Frontend:**
47
-
48
40
``` bash
49
- cd frontend
50
- npm install
41
+ make setup
51
42
```
52
43
53
44
** 3. Run Development Servers:**
@@ -105,4 +96,4 @@ Open your browser and navigate to `http://localhost:8123/app/` to see the applic
105
96
106
97
## License
107
98
108
- This project is licensed under the Apache License 2.0. See the [ LICENSE] ( LICENSE ) file for details.
99
+ This project is licensed under the Apache License 2.0. See the [ LICENSE] ( LICENSE ) file for details.
You can’t perform that action at this time.
0 commit comments