mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-02 09:37:23 -04:00
Update developer documentation files: - CONTRIBUTING.md: Update title to AI-Trader-Server - development-setup.md: Update git clone URL from github.com/Xe138/AI-Trader to github.com/Xe138/AI-Trader-Server - testing.md: Update title to reference AI-Trader-Server Part of Phase 3: Developer & Deployment Documentation
72 lines
887 B
Markdown
72 lines
887 B
Markdown
# Development Setup
|
|
|
|
Local development without Docker.
|
|
|
|
---
|
|
|
|
## Prerequisites
|
|
|
|
- Python 3.10+
|
|
- pip
|
|
- virtualenv
|
|
|
|
---
|
|
|
|
## Setup Steps
|
|
|
|
### 1. Clone Repository
|
|
|
|
```bash
|
|
git clone https://github.com/Xe138/AI-Trader-Server.git
|
|
cd AI-Trader-Server
|
|
```
|
|
|
|
### 2. Create Virtual Environment
|
|
|
|
```bash
|
|
python3 -m venv venv
|
|
source venv/bin/activate # Linux/Mac
|
|
# venv\Scripts\activate # Windows
|
|
```
|
|
|
|
### 3. Install Dependencies
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
### 4. Configure Environment
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
# Edit .env with your API keys
|
|
```
|
|
|
|
### 5. Start MCP Services
|
|
|
|
```bash
|
|
cd agent_tools
|
|
python start_mcp_services.py &
|
|
cd ..
|
|
```
|
|
|
|
### 6. Start API Server
|
|
|
|
```bash
|
|
python -m uvicorn api.main:app --reload --port 8080
|
|
```
|
|
|
|
---
|
|
|
|
## Running Tests
|
|
|
|
```bash
|
|
pytest tests/ -v
|
|
```
|
|
|
|
---
|
|
|
|
## Project Structure
|
|
|
|
See [CLAUDE.md](../../CLAUDE.md) for complete project structure.
|