botserver/docs/src/chapter-01/installation.md
Rodrigo Rodriguez (Pragmatismo) 892d20440e Add comprehensive documentation for GeneralBots, including keyword references, templates, and user guides
- Created detailed markdown files for keywords such as HEAR, TALK, and SET_USER.
- Added examples and usage notes for each keyword to enhance user understanding.
- Developed templates for common tasks like enrollment and authentication.
- Structured documentation into chapters covering various aspects of the GeneralBots platform, including gbapp, gbkb, and gbtheme.
- Introduced a glossary for key terms and concepts related to GeneralBots.
- Implemented a user-friendly table of contents for easy navigation.
2025-10-25 14:50:14 -03:00

1.4 KiB

Installation

System Requirements

  • Operating System: Linux, macOS, or Windows
  • Memory: 8GB RAM minimum, 16GB recommended
  • Storage: 10GB free space
  • Dependencies: Docker (optional), PostgreSQL, Redis

Installation Methods

# Install using the built-in package manager
botserver install tables
botserver install drive  
botserver install cache
botserver install llm

Method 2: Manual Installation

  1. Download the botserver binary
  2. Set environment variables:
export DATABASE_URL="postgres://gbuser:password@localhost:5432/botserver"
export DRIVE_SERVER="http://localhost:9000"
export DRIVE_ACCESSKEY="minioadmin"
export DRIVE_SECRET="minioadmin"
  1. Run the server: ./botserver

Configuration

Create a .env file in your working directory:

BOT_GUID=your-bot-id
DATABASE_URL=postgres://gbuser:password@localhost:5432/botserver
DRIVE_SERVER=http://localhost:9000
DRIVE_ACCESSKEY=minioadmin
DRIVE_SECRET=minioadmin
REDIS_URL=redis://localhost:6379

Verification

After installation, verify everything is working:

  1. Access the web interface at http://localhost:8080
  2. Check that all services are running:
botserver status tables
botserver status drive
botserver status cache
botserver status llm

The system will automatically create necessary database tables and storage buckets on first run.