Files
aitbc/docs/8_development/2_setup.md
oib 06e48ef34b chore: standardize configuration, logging, and error handling across blockchain node and coordinator API
- Add infrastructure.md and workflow files to .gitignore to prevent sensitive info leaks
- Change blockchain node mempool backend default from memory to database for persistence
- Refactor blockchain node logger with StructuredLogFormatter and AuditLogger (consistent with coordinator)
- Add structured logging fields: service, module, function, line number
- Unify coordinator config with Database
2026-02-13 22:39:43 +01:00

1.2 KiB

title, description
title description
Development Setup 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

git clone https://github.com/aitbc/aitbc.git
cd aitbc

2. Install Dependencies

# Python dependencies
pip install -r requirements.txt

# Development dependencies
pip install -r requirements-dev.txt

3. Start Services

# Using Docker Compose
docker-compose -f docker-compose.dev.yml up -d

# Or start individually
aitbc dev start

4. Verify Setup

# 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:

AITBC_API_KEY=your_dev_key
AITBC_BASE_URL=http://localhost:8011
AITBC_NETWORK=testnet

Next Steps