Skip to main content

Quick Start Guide

This guide will walk you through setting up Genie Helper on your VPS. The platform is designed to run on a self-hosted server with all services managed via PM2.
Prerequisites:
  • Ubuntu/Debian VPS with at least 8GB RAM
  • Node.js 18+ installed
  • Docker and Docker Compose installed
  • Redis server running
  • Nginx or similar reverse proxy

Installation Steps

1

Clone the Repository

Clone the Genie Helper source code to your server:
2

Install Dependencies

Install Node.js dependencies for all services:
3

Configure Environment Variables

Create a .env file in the project root with the required credentials:
Generate a secure 32-byte key for CREDENTIALS_ENC_KEY_B64:
4

Configure MCP Servers

The MCP server configuration is located at storage/plugins/anythingllm_mcp_servers.json. It should auto-boot on startup via the patched server/utils/boot/index.js.Verify the three MCP servers are configured:
  • Directus MCPscripts/directus-mcp-server.mjs
  • Ollama MCPscripts/ollama-mcp-server.mjs
  • Stagehand MCPscripts/stagehand-mcp-server.mjs
5

Install Ollama Models

Pull the required Ollama models for AI operations:
The scout-fast-tag:latest model is a custom SmolLM model for taxonomy classification. You’ll need to build this separately if using the taxonomy features.
6

Build the Dashboard

Build the React SPA for production:
The build output will be in dashboard/dist/ and should be served by your web server.
7

Configure Nginx Reverse Proxy

Set up Nginx to proxy requests to the various services:
Plesk Users: If using Plesk, add these rules via Domains → Apache & nginx Settings → Additional nginx directives. NEVER add location / — Plesk generates it automatically.
8

Start Services with PM2

Use PM2 to manage all services:

Verify Installation

Check that all services are running:
You should see the following services:

Access the Platform

Creator Dashboard

Access the main dashboard at https://yourdomain.com/app/

Admin Panel

Access the admin panel at https://yourdomain.com/admin

Directus CMS

Direct access at http://localhost:8055/admin

AnythingLLM

Direct access at http://localhost:3001

Default Credentials

Change these credentials before public launch!
AnythingLLM API Key: 38KEHYS-NVPMBSX-GVVJNYH-VQHAN9S

Common Operations

Restart All Services

Rebuild Dashboard After Code Changes

Restart AnythingLLM After Server Changes

View Service Logs

Monitor Service Status

Troubleshooting

Check the logs with pm2 logs <service-name> to identify the error. Common issues:
  • Missing environment variables in .env
  • Port conflicts (check if ports 3001, 8055, 3002, 3100 are available)
  • Redis not running (required for BullMQ)
Verify that storage/plugins/anythingllm_mcp_servers.json exists and contains valid JSON. Check AnythingLLM logs for MCP boot messages.
Ensure all upstream services are running:
Verify Ollama is running:
If models are missing, re-run ollama pull commands from Step 5.

Next Steps

Now that your services are running:
1

Review Architecture

Learn how services communicate in the Architecture guide
2

Connect Platforms

Link your OnlyFans and other creator platforms via the dashboard
3

Configure AI Agent

Customize the AI workspace and system prompts in AnythingLLM