Browse Source

Update README with environment setup and frontend instructions

Dr-Swopt 1 tuần trước cách đây
mục cha
commit
b9df7afa02
1 tập tin đã thay đổi với 28 bổ sung1 xóa
  1. 28 1
      README.md

+ 28 - 1
README.md

@@ -11,7 +11,21 @@ This project provides a FastAPI-based backend for extracting structured data fro
 
 ## Setup
 
-1. **Install Dependencies**:
+### Backend (FastAPI)
+
+1. **Initialize Virtual Environment**:
+   ```bash
+   # Create environment
+   python -m venv venv
+
+   # Activate environment (Windows)
+   .\venv\Scripts\activate
+
+   # Activate environment (Mac/Linux)
+   # source venv/bin/activate
+   ```
+
+2. **Install Dependencies**:
    ```bash
    pip install -r requirements.txt
    ```
@@ -27,6 +41,19 @@ This project provides a FastAPI-based backend for extracting structured data fro
    uvicorn src.main:app --reload
    ```
 
+### Frontend (Angular)
+
+1. **Install Dependencies**:
+   ```bash
+   cd ai-data-entry-ui
+   npm install --legacy-peer-deps
+   ```
+
+2. **Run the UI**:
+   ```bash
+   npm start
+   ```
+
 ## API Endpoints
 
 ### `GET /health`