Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Ring File Cabinet
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)

    Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Ring File Cabinet
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)

    Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Ring File Cabinet
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)
    1. Docs
    2. /Getting Started
    3. /Installation

    Updated Jun 15, 20264 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    1. Docs
    2. /Getting Started
    3. /Installation

    Updated Jun 15, 20264 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    1. Docs
    2. /Getting Started
    3. /Installation

    Updated Jun 15, 20264 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    Installation

    Install Ring Platform on your machine for local development. This guide matches the open-source repo (connectplatform/ring) and the PostgreSQL-primary default (DB_BACKEND_MODE=k8s-postgres-fcm).

    Estimated time

    45–90 minutes for a full Postgres-primary install (first time). ./install.sh --quick plus an existing PostgreSQL instance can be faster.

    Prerequisites

    Node.js 20+, Git, hardware, and optional Docker

    Database migrations

    data/schema.sql v4+ and kingdom migration order

    Database backend selection

    k8s-postgres-fcm, supabase-fcm, or firebase-full

    First success validation

    Smoke-test checklist after npm run dev

    What you are installing

    ComponentVersion / entry
    FrameworkNext.js 16 App Router + React 19
    AuthAuth.js v5 (auth.ts, AUTH_SECRET, OAuth providers)
    Default data planePostgreSQL (k8s-postgres-fcm) — not Firestore for app data
    Dev serverCustom server.ts — Next.js + native WebSocket tunnel (/api/tunnel/ws)
    White-label configring-config.json (created by install.sh)
    Installation flow

    Install paths

    Recommended for first clone

    install.sh v2.0 scaffolds ring-config.json, copies env.local.template → .env.local, generates secrets, and runs npm install.

    1. 1

      Clone and run the installer

      Useful flags:

      • --clone-name my-ring — white-label slug in ring-config.json
      • --quick — non-interactive defaults
      • dev / prod — explicit setup mode
      • --help — full option list
    2. 2

      Finish required .env.local values

      The template is copied automatically. At minimum, set database connection vars and one OAuth provider before first boot (see Configure environment below).

    PostgreSQL setup

    Production-style local dev uses database ring_platform with user ring_user. App schema lives in data/schema.sql (v4.0.1+).

    Required for k8s-postgres-fcm

    DB_BACKEND_MODE is mandatory. The platform expects PostgreSQL when set to k8s-postgres-fcm (the template default). See Database migrations for the full apply order.

    Start PostgreSQL 16 locally (standalone clone — no Ringdom monorepo required):

    Apply schema and kingdom migrations:

    Full migration matrix

    Incremental files 005–008 and 011 are idempotent when already merged into schema.sql. See Database migrations — do not apply deprecated 001_email_crm_schema.sql.

    Configure environment

    Set these in .env.local (from env.local.template). Values shown are local dev defaults.

    Backend mode and database

    Recommended

    Application data on PostgreSQL; Firebase Admin used only for FCM push when configured. Matches ring-platform.org production.

    Auth.js and URLs

    OAuth redirect URI

    In Google Cloud Console, add authorized redirect URI: http://localhost:3000/api/auth/callback/google

    Real-time tunnel (local dev)

    npm run dev starts the unified custom server (server.ts) with native WebSocket at /api/tunnel/ws. On Vercel, set RING_DEPLOY_TARGET=vercel for SSE-only mode.

    Firebase (FCM — optional for Postgres mode)

    For push notifications, add Firebase Admin + client keys from the template. Not required to load the homepage or browse entities with Postgres-only auth.

    Private key formatting

    Keep AUTH_FIREBASE_PRIVATE_KEY in double quotes with literal \\n newlines (or real newlines inside quotes). Never commit .env.local.

    Locales

    Defaults match ring-platform.org community portal:

    Run the development server

    1. 1

      Start the app

      Expected log line:

      First compile may take 30–60 seconds.

    2. 2

      Open the portal

      Visit http://localhost:3000 — home renders via HomeWrapper and locale files under locales/{en,uk,ru}/.

      Installation complete

      If the homepage loads without database adapter errors, proceed to First success validation.

    3. 3

      Optional checks

    Common install issues

    SymptomFix
    Port 3000 in uselsof -ti:3000 | xargs kill or PORT=3001 npm run dev
    Database connection failedVerify Postgres is running, DB_* vars match, and data/schema.sql was applied
    Google sign-in failsCheck AUTH_GOOGLE_*, Firebase/Google redirect URI, and AUTH_SECRET
    Module not foundRe-run npm install from repo root
    Tunnel errors in consoleConfirm RING_DEPLOY_TARGET=self-hosted for local WSS

    More: Troubleshooting.

    Next steps

    First success validation

    Auth, entities, opportunities smoke tests

    Local development setup

    Project structure, testing, and dev tools

    Customization quick start

    White-label clone checklist beyond install

    Deployment

    k3s, Docker, and production hardening

    Installation

    Install Ring Platform on your machine for local development. This guide matches the open-source repo (connectplatform/ring) and the PostgreSQL-primary default (DB_BACKEND_MODE=k8s-postgres-fcm).

    Estimated time

    45–90 minutes for a full Postgres-primary install (first time). ./install.sh --quick plus an existing PostgreSQL instance can be faster.

    Prerequisites

    Node.js 20+, Git, hardware, and optional Docker

    Database migrations

    data/schema.sql v4+ and kingdom migration order

    Database backend selection

    k8s-postgres-fcm, supabase-fcm, or firebase-full

    First success validation

    Smoke-test checklist after npm run dev

    What you are installing

    ComponentVersion / entry
    FrameworkNext.js 16 App Router + React 19
    AuthAuth.js v5 (auth.ts, AUTH_SECRET, OAuth providers)
    Default data planePostgreSQL (k8s-postgres-fcm) — not Firestore for app data
    Dev serverCustom server.ts — Next.js + native WebSocket tunnel (/api/tunnel/ws)
    White-label configring-config.json (created by install.sh)
    Installation flow

    Install paths

    Recommended for first clone

    install.sh v2.0 scaffolds ring-config.json, copies env.local.template → .env.local, generates secrets, and runs npm install.

    1. 1

      Clone and run the installer

      Useful flags:

      • --clone-name my-ring — white-label slug in ring-config.json
      • --quick — non-interactive defaults
      • dev / prod — explicit setup mode
      • --help — full option list
    2. 2

      Finish required .env.local values

      The template is copied automatically. At minimum, set database connection vars and one OAuth provider before first boot (see Configure environment below).

    PostgreSQL setup

    Production-style local dev uses database ring_platform with user ring_user. App schema lives in data/schema.sql (v4.0.1+).

    Required for k8s-postgres-fcm

    DB_BACKEND_MODE is mandatory. The platform expects PostgreSQL when set to k8s-postgres-fcm (the template default). See Database migrations for the full apply order.

    Start PostgreSQL 16 locally (standalone clone — no Ringdom monorepo required):

    Apply schema and kingdom migrations:

    Full migration matrix

    Incremental files 005–008 and 011 are idempotent when already merged into schema.sql. See Database migrations — do not apply deprecated 001_email_crm_schema.sql.

    Configure environment

    Set these in .env.local (from env.local.template). Values shown are local dev defaults.

    Backend mode and database

    Recommended

    Application data on PostgreSQL; Firebase Admin used only for FCM push when configured. Matches ring-platform.org production.

    Auth.js and URLs

    OAuth redirect URI

    In Google Cloud Console, add authorized redirect URI: http://localhost:3000/api/auth/callback/google

    Real-time tunnel (local dev)

    npm run dev starts the unified custom server (server.ts) with native WebSocket at /api/tunnel/ws. On Vercel, set RING_DEPLOY_TARGET=vercel for SSE-only mode.

    Firebase (FCM — optional for Postgres mode)

    For push notifications, add Firebase Admin + client keys from the template. Not required to load the homepage or browse entities with Postgres-only auth.

    Private key formatting

    Keep AUTH_FIREBASE_PRIVATE_KEY in double quotes with literal \\n newlines (or real newlines inside quotes). Never commit .env.local.

    Locales

    Defaults match ring-platform.org community portal:

    Run the development server

    1. 1

      Start the app

      Expected log line:

      First compile may take 30–60 seconds.

    2. 2

      Open the portal

      Visit http://localhost:3000 — home renders via HomeWrapper and locale files under locales/{en,uk,ru}/.

      Installation complete

      If the homepage loads without database adapter errors, proceed to First success validation.

    3. 3

      Optional checks

    Common install issues

    SymptomFix
    Port 3000 in uselsof -ti:3000 | xargs kill or PORT=3001 npm run dev
    Database connection failedVerify Postgres is running, DB_* vars match, and data/schema.sql was applied
    Google sign-in failsCheck AUTH_GOOGLE_*, Firebase/Google redirect URI, and AUTH_SECRET
    Module not foundRe-run npm install from repo root
    Tunnel errors in consoleConfirm RING_DEPLOY_TARGET=self-hosted for local WSS

    More: Troubleshooting.

    Next steps

    First success validation

    Auth, entities, opportunities smoke tests

    Local development setup

    Project structure, testing, and dev tools

    Customization quick start

    White-label clone checklist beyond install

    Deployment

    k3s, Docker, and production hardening

    Installation

    Install Ring Platform on your machine for local development. This guide matches the open-source repo (connectplatform/ring) and the PostgreSQL-primary default (DB_BACKEND_MODE=k8s-postgres-fcm).

    Estimated time

    45–90 minutes for a full Postgres-primary install (first time). ./install.sh --quick plus an existing PostgreSQL instance can be faster.

    Prerequisites

    Node.js 20+, Git, hardware, and optional Docker

    Database migrations

    data/schema.sql v4+ and kingdom migration order

    Database backend selection

    k8s-postgres-fcm, supabase-fcm, or firebase-full

    First success validation

    Smoke-test checklist after npm run dev

    What you are installing

    ComponentVersion / entry
    FrameworkNext.js 16 App Router + React 19
    AuthAuth.js v5 (auth.ts, AUTH_SECRET, OAuth providers)
    Default data planePostgreSQL (k8s-postgres-fcm) — not Firestore for app data
    Dev serverCustom server.ts — Next.js + native WebSocket tunnel (/api/tunnel/ws)
    White-label configring-config.json (created by install.sh)
    Installation flow

    Install paths

    Recommended for first clone

    install.sh v2.0 scaffolds ring-config.json, copies env.local.template → .env.local, generates secrets, and runs npm install.

    1. 1

      Clone and run the installer

      Useful flags:

      • --clone-name my-ring — white-label slug in ring-config.json
      • --quick — non-interactive defaults
      • dev / prod — explicit setup mode
      • --help — full option list
    2. 2

      Finish required .env.local values

      The template is copied automatically. At minimum, set database connection vars and one OAuth provider before first boot (see Configure environment below).

    PostgreSQL setup

    Production-style local dev uses database ring_platform with user ring_user. App schema lives in data/schema.sql (v4.0.1+).

    Required for k8s-postgres-fcm

    DB_BACKEND_MODE is mandatory. The platform expects PostgreSQL when set to k8s-postgres-fcm (the template default). See Database migrations for the full apply order.

    Start PostgreSQL 16 locally (standalone clone — no Ringdom monorepo required):

    Apply schema and kingdom migrations:

    Full migration matrix

    Incremental files 005–008 and 011 are idempotent when already merged into schema.sql. See Database migrations — do not apply deprecated 001_email_crm_schema.sql.

    Configure environment

    Set these in .env.local (from env.local.template). Values shown are local dev defaults.

    Backend mode and database

    Recommended

    Application data on PostgreSQL; Firebase Admin used only for FCM push when configured. Matches ring-platform.org production.

    Auth.js and URLs

    OAuth redirect URI

    In Google Cloud Console, add authorized redirect URI: http://localhost:3000/api/auth/callback/google

    Real-time tunnel (local dev)

    npm run dev starts the unified custom server (server.ts) with native WebSocket at /api/tunnel/ws. On Vercel, set RING_DEPLOY_TARGET=vercel for SSE-only mode.

    Firebase (FCM — optional for Postgres mode)

    For push notifications, add Firebase Admin + client keys from the template. Not required to load the homepage or browse entities with Postgres-only auth.

    Private key formatting

    Keep AUTH_FIREBASE_PRIVATE_KEY in double quotes with literal \\n newlines (or real newlines inside quotes). Never commit .env.local.

    Locales

    Defaults match ring-platform.org community portal:

    Run the development server

    1. 1

      Start the app

      Expected log line:

      First compile may take 30–60 seconds.

    2. 2

      Open the portal

      Visit http://localhost:3000 — home renders via HomeWrapper and locale files under locales/{en,uk,ru}/.

      Installation complete

      If the homepage loads without database adapter errors, proceed to First success validation.

    3. 3

      Optional checks

    Common install issues

    SymptomFix
    Port 3000 in uselsof -ti:3000 | xargs kill or PORT=3001 npm run dev
    Database connection failedVerify Postgres is running, DB_* vars match, and data/schema.sql was applied
    Google sign-in failsCheck AUTH_GOOGLE_*, Firebase/Google redirect URI, and AUTH_SECRET
    Module not foundRe-run npm install from repo root
    Tunnel errors in consoleConfirm RING_DEPLOY_TARGET=self-hosted for local WSS

    More: Troubleshooting.

    Next steps

    First success validation

    Auth, entities, opportunities smoke tests

    Local development setup

    Project structure, testing, and dev tools

    Customization quick start

    White-label clone checklist beyond install

    Deployment

    k3s, Docker, and production hardening

    text
    
    > Ready on http://localhost:3000 [self-hosted]
    [server] Native WSS attached at /api/tunnel/ws (RING_DEPLOY_TARGET=self-hosted)
    text
    
    > Ready on http://localhost:3000 [self-hosted]
    [server] Native WSS attached at /api/tunnel/ws (RING_DEPLOY_TARGET=self-hosted)
    text
    
    > Ready on http://localhost:3000 [self-hosted]
    [server] Native WSS attached at /api/tunnel/ws (RING_DEPLOY_TARGET=self-hosted)