Skip to content

Commit cb0f6f0

Browse files
added the intallation changes
1 parent 97d5614 commit cb0f6f0

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

docs/DeploymentGuide.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -344,16 +344,23 @@ The files for the dev container are located in `/.devcontainer/` folder.
344344
345345
- If you are using `venv`, create and activate your virtual environment for both the frontend and backend folders.
346346
347-
8. **Install requirements - frontend:**
347+
8. **Install requirements - Backend:**
348348
349-
- In each of the frontend and backend folders -
350-
Open a terminal in the `src` folder and run:
349+
- To install the requirement for backend -
350+
Open a terminal in the `src/backend` folder and run:
351351
```bash
352-
pip install -r requirements.txt
352+
pip install uv
353+
uv sync
353354
```
354355
355356
9. **Build the frontend (important):**
356357
358+
- To install the requirement for frontend -
359+
Open a terminal in the `src/frontend` folder and run:
360+
```bash
361+
pip install -r requirements.txt
362+
```
363+
357364
- Before running the frontend server, you must build the frontend to generate the necessary `build/assets` directory.
358365
359366
From the `src/frontend` directory, run:
@@ -365,7 +372,7 @@ The files for the dev container are located in `/.devcontainer/` folder.
365372
366373
10. **Run the application:**
367374
368-
- From the src/backend directory:
375+
- From the `src/backend` directory activate the virtual environment created through step 8 and Run:
369376
370377
```bash
371378
python app_kernel.py
@@ -377,8 +384,14 @@ python app_kernel.py
377384
python frontend_server.py
378385
```
379386
380-
10. Open a browser and navigate to `http://localhost:3000`
381-
11. To see swagger API documentation, you can navigate to `http://localhost:8000/docs`
387+
or Run
388+
389+
```bash
390+
npm run dev
391+
```
392+
393+
11. Open a browser and navigate to `http://localhost:3000`
394+
12. To see swagger API documentation, you can navigate to `http://localhost:8000/docs`
382395
383396
## Debugging the solution locally
384397

0 commit comments

Comments
 (0)