Spaces:
Running
Running
| # Setup & Installation | |
| ## 1. Clone the Repository | |
| ```bash | |
| git clone https://github.com/cyberalertnepal/aiapi | |
| cd aiapi | |
| ``` | |
| ## 2. Install Dependencies | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| ## 3. Configure Environment | |
| Create a `.env` file: | |
| ```env | |
| SECRET_TOKEN=your_secret_token_here | |
| ``` | |
| ## 4. Run the API | |
| ```bash | |
| uvicorn app:app --host 0.0.0.0 --port 8000 | |
| ``` | |
| [🔙 Back to Main README](../README.md) | |