- 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.
1.4 KiB
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
Method 1: Package Manager (Recommended)
# Install using the built-in package manager
botserver install tables
botserver install drive
botserver install cache
botserver install llm
Method 2: Manual Installation
- Download the botserver binary
- 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"
- 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:
- Access the web interface at
http://localhost:8080 - 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.