تخطي للذهاب إلى المحتوى

Installation

Step-by-step guide to installing the AI Workflow Framework on RebusAI.

Requirements

Component Version Notes
RebusAI 19.0 Community or Enterprise
Python 3.10+ Required for RebusAI
PostgreSQL 13+ Recommended: 15+
queue_job Latest OCA module for background jobs
Important

You need an API key from at least one AI provider (OpenAI, Anthropic, etc.) to use the framework.

Install Modules

Step 1: Clone the Repository

Bash
# Navigate to your RebusAI addons directory
cd /path/to/odoo/addons

# Clone the AI Workflow Framework
git clone https://github.com/your-org/ai_project_workflow.git

# Install Python dependencies
pip install openai anthropic

Step 2: Install Required OCA Modules

Bash
# Clone OCA queue module
git clone https://github.com/OCA/queue.git

# Or add via submodule
git submodule add https://github.com/OCA/queue.git oca/queue

Step 3: Install in RebusAI

Bash
# Install core module
./odoo-bin -d your_database -i ai_project_workflow

# Install workflows you need
./odoo-bin -d your_database -i ai_workflow_website,ai_workflow_ebook_creator

# Or install all workflows
./odoo-bin -d your_database -i ai_workflow_website,ai_workflow_ebook_creator,ai_workflow_course,ai_workflow_survey,ai_workflow_video_creator

Configure RebusAI

Update odoo.conf

Add the framework to your addons path:

INI
[options]
addons_path = /path/to/odoo/addons,/path/to/ai_project_workflow,/path/to/oca/queue

# Enable queue_job for background processing
server_wide_modules = web,queue_job

# Queue job configuration (optional but recommended)
[queue_job]
channels = root:4

Verify Installation

After installation, verify the framework is working:

  1. Log into RebusAI as admin
  2. Go to Apps and search for "AI Workflow"
  3. Verify the modules are installed (green checkmark)
  4. Navigate to AI Workflows app in the menu
  5. You should see the main dashboard
Success

If you can see the AI Workflows app, installation is complete. Next, configure an AI provider to start generating content.