Files
aitbc/docs/8_development/2_setup.md
AITBC System b033923756 chore: normalize file permissions across repository
- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore)
- Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md)
- Remove executable permissions from web assets (HTML, CSS, JS files)
- Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt)
- Remove executable permissions from source code files across all apps
- Add executable permissions to Python
2026-03-08 11:26:18 +01:00

77 lines
1.2 KiB
Markdown

---
title: Development Setup
description: Set up your development environment for AITBC
---
# Development Setup
This guide helps you set up a development environment for building on AITBC.
## Prerequisites
- Python 3.8+
- Git
- Docker (optional)
- Node.js 16+ (for frontend development)
## Local Development
### 1. Clone Repository
```bash
git clone https://github.com/aitbc/aitbc.git
cd aitbc
```
### 2. Install Dependencies
```bash
# Python dependencies
pip install -r requirements.txt
# Development dependencies
pip install -r requirements-dev.txt
```
### 3. Start Services
```bash
# Using Docker Compose
docker-compose -f docker-compose.dev.yml up -d
# Or start individually
aitbc dev start
```
### 4. Verify Setup
```bash
# Check services
aitbc status
# Run tests
pytest
```
## IDE Setup
### VS Code
Install extensions:
- Python
- Docker
- GitLens
### PyCharm
Configure Python interpreter and enable Docker integration.
## Environment Variables
Create `.env` file:
```bash
AITBC_API_KEY=your_dev_key
AITBC_BASE_URL=http://localhost:8011
AITBC_NETWORK=testnet
```
## Next Steps
- [API Authentication](../6_architecture/3_coordinator-api.md#authentication)
- [Python SDK](../2_clients/1_quick-start.md)
- [Examples](../2_clients/2_job-submission.md)