Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 1.32 KB

DEVELOPMENT.md

File metadata and controls

72 lines (49 loc) · 1.32 KB

Development Guide

This guide provides instructions for setting up a development environment for freeact. Follow these steps to get started with development, testing, and contributing to the project.

Clone the repository:

git clone https://github.com/gradion-ai/freeact.git
cd freeact

Create a new Conda environment and activate it:

conda env create -f environment.yml
conda activate freeact

Install the poetry dynamic versioning plugin:

poetry self add "poetry-dynamic-versioning[plugin]"

Install dependencies with Poetry:

poetry install --with dev --with docs --with eval

Install pre-commit hooks:

invoke precommit-install

Create a .env file with Anthropic, Gemini and Fireworks API keys:

# Required integration tests with Claude 3.5 Haiku
ANTHROPIC_API_KEY=...

# Required integration tests with Gemini 2. Flash
GOOGLE_API_KEY=...

# Required integration tests with Qwen 2.5 Coder
QWEN_API_KEY=...

Enforce coding conventions (done automatically by pre-commit hooks):

invoke cc

Run unit tests:

invoke ut

Run integration tests:

invoke it

Run all tests:

invoke test