OpportunitiesEntities
Docs
    Ring Platform

    Decentralized Self-building Future

    Sign In
    Entities
    Opportunities
    Store
    Docs
    Platform Concepts
    RING EconomySonoratek LLCGlobal ImpactAI Meets Web3
    Get Started
    Quick StartCalculatorRoadmap
    Privacy|Contact
    v1.104.17|Sonoratek LLC

    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
    Ring Oracle
    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
    Profile Account Widgets
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Backend Services
    Firebase Integration
    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
    Ring Oracle
    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
    Profile Account Widgets
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Backend Services
    Firebase Integration
    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
    Ring Oracle
    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
    Profile Account Widgets
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Backend Services
    Firebase Integration
    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)
    Ring Logo

    Loading documentation...

    Preparing Ring content

    Ring Logo

    Loading documentation...

    Preparing Ring content

    Ring Logo

    Loading documentation...

    Preparing Ring content

    Basic Setup

    This guide walks through a minimal Ring Platform local setup. It is the fastest way to see a running instance after cloning the repository.

    Prerequisites

    Node.js 20+, PostgreSQL 16, and Git. Full prerequisites are documented in the Installation guide.

    What You Get

    A running Ring Platform with:

    • PostgreSQL as the application database (k8s-postgres-fcm mode)
    • Auth.js v5 authentication with Google OAuth sign-in
    • Entity management — create and manage organizations
    • Opportunity marketplace — post and discover listings
    • Real-time notifications via WebSocket tunnel

    The platform runs on http://localhost:3000. No cloud dependencies are required for basic local operation.

    Next Steps After Setup

    After verifying the local instance, see Local Setup for white-label customization, feature flags, and advanced configuration. For production deployment, refer to Environment Configuration.

    Step-by-Step Setup

    Clone and Install

    bash
    
    git clone https://github.com/connectplatform/ring.git
    cd ring
    npm install

    Configure Environment

    Copy the template and edit the required variables:

    At minimum, set these in .env.local:

    AUTH_SECRET generation

    Auth.js v5 can generate a secret automatically on first run. Alternatively, use npx auth secret to generate one explicitly. The openssl rand -hex 32 approach is not needed.

    The full variable reference is in Environment Configuration. For local development AUTH_TRUST_HOST=true is recommended.

    Database Setup

    Start PostgreSQL and create the database:

    Apply the schema and migrations:

    Alternatively, use the install script which handles database setup:

    See Installation > PostgreSQL Setup for more options.

    Start Development Server

    The custom server.ts starts Next.js 16 with the WebSocket tunnel on port 3000.

    Verify

    Expected response: {"status":"ok","timestamp":"..."}

    Visit http://localhost:3000/login to test Google OAuth sign-in.

    Key Files

    FilePurpose
    auth.tsAuth.js v5 configuration — providers, callbacks, JWT session strategy
    lib/database/DatabaseService.tsUnified database abstraction (PostgreSQL or Firestore)
    lib/firebase-admin.server.tsFirebase Admin SDK for FCM push (server-side only)
    public/firebase-messaging-sw.jsService worker with Firebase client SDK for push notifications
    lib/tunnel/Real-time WebSocket transport
    data/schema.sqlPostgreSQL schema v4
    No lib/firebase.ts

    Ring Platform does not have a lib/firebase.ts client initialization file. Firebase client SDK is loaded exclusively inside the service worker (public/firebase-messaging-sw.js) via CDN importScripts(). There is no client-side firebaseConfig object. Server-side Firebase Admin uses lib/firebase-admin.server.ts with explicit service-account credentials.

    Technology Stack

    ComponentVersion / Provider
    FrameworkNext.js 16 App Router
    UIReact 19
    AuthAuth.js v5 (auth() / useSession())
    DatabasePostgreSQL 16 + PostGIS (or Firestore via DB_BACKEND_MODE=firebase-full)
    PushFirebase Cloud Messaging (server Admin SDK, client service worker)
    PaymentsWayForPay (HMAC server-side verification)
    Localesnext-intl, supported locales: en, uk, ru

    Troubleshooting

    "FETCH_FAILED" or database connection errors

    Verify PostgreSQL is running and the credentials in .env.local match:

    Google OAuth not working

    1. Check Google Cloud Console — add http://localhost:3000 to Authorized JavaScript origins
    2. Add http://localhost:3000/api/auth/callback/google to Authorized redirect URIs
    3. Verify AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET in .env.local

    Auth secret errors

    Ensure AUTH_SECRET is set in .env.local. Generate with:

    Then copy the output into AUTH_SECRET.

    Next Steps

    • Installation guide — full setup with install script and advanced database config
    • Local Setup — white-label configuration, feature toggles, and development workflow
    • Environment Configuration — reference for all environment variables
    • Advanced Features — AI matcher, verification, PaymentConductor, and more

    Basic Setup

    This guide walks through a minimal Ring Platform local setup. It is the fastest way to see a running instance after cloning the repository.

    Prerequisites

    Node.js 20+, PostgreSQL 16, and Git. Full prerequisites are documented in the Installation guide.

    What You Get

    A running Ring Platform with:

    • PostgreSQL as the application database (k8s-postgres-fcm mode)
    • Auth.js v5 authentication with Google OAuth sign-in
    • Entity management — create and manage organizations
    • Opportunity marketplace — post and discover listings
    • Real-time notifications via WebSocket tunnel

    The platform runs on http://localhost:3000. No cloud dependencies are required for basic local operation.

    Next Steps After Setup

    After verifying the local instance, see Local Setup for white-label customization, feature flags, and advanced configuration. For production deployment, refer to Environment Configuration.

    Step-by-Step Setup

    Clone and Install

    bash
    
    git clone https://github.com/connectplatform/ring.git
    cd ring
    npm install

    Configure Environment

    Copy the template and edit the required variables:

    At minimum, set these in .env.local:

    AUTH_SECRET generation

    Auth.js v5 can generate a secret automatically on first run. Alternatively, use npx auth secret to generate one explicitly. The openssl rand -hex 32 approach is not needed.

    The full variable reference is in Environment Configuration. For local development AUTH_TRUST_HOST=true is recommended.

    Database Setup

    Start PostgreSQL and create the database:

    Apply the schema and migrations:

    Alternatively, use the install script which handles database setup:

    See Installation > PostgreSQL Setup for more options.

    Start Development Server

    The custom server.ts starts Next.js 16 with the WebSocket tunnel on port 3000.

    Verify

    Expected response: {"status":"ok","timestamp":"..."}

    Visit http://localhost:3000/login to test Google OAuth sign-in.

    Key Files

    FilePurpose
    auth.tsAuth.js v5 configuration — providers, callbacks, JWT session strategy
    lib/database/DatabaseService.tsUnified database abstraction (PostgreSQL or Firestore)
    lib/firebase-admin.server.tsFirebase Admin SDK for FCM push (server-side only)
    public/firebase-messaging-sw.jsService worker with Firebase client SDK for push notifications
    lib/tunnel/Real-time WebSocket transport
    data/schema.sqlPostgreSQL schema v4
    No lib/firebase.ts

    Ring Platform does not have a lib/firebase.ts client initialization file. Firebase client SDK is loaded exclusively inside the service worker (public/firebase-messaging-sw.js) via CDN importScripts(). There is no client-side firebaseConfig object. Server-side Firebase Admin uses lib/firebase-admin.server.ts with explicit service-account credentials.

    Technology Stack

    ComponentVersion / Provider
    FrameworkNext.js 16 App Router
    UIReact 19
    AuthAuth.js v5 (auth() / useSession())
    DatabasePostgreSQL 16 + PostGIS (or Firestore via DB_BACKEND_MODE=firebase-full)
    PushFirebase Cloud Messaging (server Admin SDK, client service worker)
    PaymentsWayForPay (HMAC server-side verification)
    Localesnext-intl, supported locales: en, uk, ru

    Troubleshooting

    "FETCH_FAILED" or database connection errors

    Verify PostgreSQL is running and the credentials in .env.local match:

    Google OAuth not working

    1. Check Google Cloud Console — add http://localhost:3000 to Authorized JavaScript origins
    2. Add http://localhost:3000/api/auth/callback/google to Authorized redirect URIs
    3. Verify AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET in .env.local

    Auth secret errors

    Ensure AUTH_SECRET is set in .env.local. Generate with:

    Then copy the output into AUTH_SECRET.

    Next Steps

    • Installation guide — full setup with install script and advanced database config
    • Local Setup — white-label configuration, feature toggles, and development workflow
    • Environment Configuration — reference for all environment variables
    • Advanced Features — AI matcher, verification, PaymentConductor, and more

    Basic Setup

    This guide walks through a minimal Ring Platform local setup. It is the fastest way to see a running instance after cloning the repository.

    Prerequisites

    Node.js 20+, PostgreSQL 16, and Git. Full prerequisites are documented in the Installation guide.

    What You Get

    A running Ring Platform with:

    • PostgreSQL as the application database (k8s-postgres-fcm mode)
    • Auth.js v5 authentication with Google OAuth sign-in
    • Entity management — create and manage organizations
    • Opportunity marketplace — post and discover listings
    • Real-time notifications via WebSocket tunnel

    The platform runs on http://localhost:3000. No cloud dependencies are required for basic local operation.

    Next Steps After Setup

    After verifying the local instance, see Local Setup for white-label customization, feature flags, and advanced configuration. For production deployment, refer to Environment Configuration.

    Step-by-Step Setup

    Clone and Install

    bash
    
    git clone https://github.com/connectplatform/ring.git
    cd ring
    npm install

    Configure Environment

    Copy the template and edit the required variables:

    At minimum, set these in .env.local:

    AUTH_SECRET generation

    Auth.js v5 can generate a secret automatically on first run. Alternatively, use npx auth secret to generate one explicitly. The openssl rand -hex 32 approach is not needed.

    The full variable reference is in Environment Configuration. For local development AUTH_TRUST_HOST=true is recommended.

    Database Setup

    Start PostgreSQL and create the database:

    Apply the schema and migrations:

    Alternatively, use the install script which handles database setup:

    See Installation > PostgreSQL Setup for more options.

    Start Development Server

    The custom server.ts starts Next.js 16 with the WebSocket tunnel on port 3000.

    Verify

    Expected response: {"status":"ok","timestamp":"..."}

    Visit http://localhost:3000/login to test Google OAuth sign-in.

    Key Files

    FilePurpose
    auth.tsAuth.js v5 configuration — providers, callbacks, JWT session strategy
    lib/database/DatabaseService.tsUnified database abstraction (PostgreSQL or Firestore)
    lib/firebase-admin.server.tsFirebase Admin SDK for FCM push (server-side only)
    public/firebase-messaging-sw.jsService worker with Firebase client SDK for push notifications
    lib/tunnel/Real-time WebSocket transport
    data/schema.sqlPostgreSQL schema v4
    No lib/firebase.ts

    Ring Platform does not have a lib/firebase.ts client initialization file. Firebase client SDK is loaded exclusively inside the service worker (public/firebase-messaging-sw.js) via CDN importScripts(). There is no client-side firebaseConfig object. Server-side Firebase Admin uses lib/firebase-admin.server.ts with explicit service-account credentials.

    Technology Stack

    ComponentVersion / Provider
    FrameworkNext.js 16 App Router
    UIReact 19
    AuthAuth.js v5 (auth() / useSession())
    DatabasePostgreSQL 16 + PostGIS (or Firestore via DB_BACKEND_MODE=firebase-full)
    PushFirebase Cloud Messaging (server Admin SDK, client service worker)
    PaymentsWayForPay (HMAC server-side verification)
    Localesnext-intl, supported locales: en, uk, ru

    Troubleshooting

    "FETCH_FAILED" or database connection errors

    Verify PostgreSQL is running and the credentials in .env.local match:

    Google OAuth not working

    1. Check Google Cloud Console — add http://localhost:3000 to Authorized JavaScript origins
    2. Add http://localhost:3000/api/auth/callback/google to Authorized redirect URIs
    3. Verify AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET in .env.local

    Auth secret errors

    Ensure AUTH_SECRET is set in .env.local. Generate with:

    Then copy the output into AUTH_SECRET.

    Next Steps

    • Installation guide — full setup with install script and advanced database config
    • Local Setup — white-label configuration, feature toggles, and development workflow
    • Environment Configuration — reference for all environment variables
    • Advanced Features — AI matcher, verification, PaymentConductor, and more
    bash
    
    cp env.local.template .env.local
    bash
    
    # Database backend (required)
    DB_BACKEND_MODE=k8s-postgres-fcm
    
    # Auth.js secret (required)
    AUTH_SECRET=your-secret
    
    # Database connection (required for k8s-postgres-fcm)
    DB_HOST=localhost
    DB_PORT=5432
    DB_NAME=ring_platform
    DB_USER=ring_user
    DB_PASSWORD=ring_password_2024
    
    # Google OAuth (required for sign-in)
    AUTH_GOOGLE_ID=your-client-id
    AUTH_GOOGLE_SECRET=your-client-secret
    bash
    
    docker run -d --name ring-postgres-dev \
      -e POSTGRES_USER=ring_user \
      -e POSTGRES_PASSWORD=ring_password_2024 \
      -e POSTGRES_DB=ring_platform \
      -p 5432:5432 \
      postgres:16-alpine
    bash
    
    export DATABASE_URL="postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform"
    psql "$DATABASE_URL" -f data/schema.sql
    psql "$DATABASE_URL" -f data/migrations/002_news_content_schema.sql
    psql "$DATABASE_URL" -f data/migrations/003_news_kingdom_upgrade.sql
    psql "$DATABASE_URL" -f data/migrations/004_payment_transactions.sql
    bash
    
    ./install.sh --quick
    bash
    
    npm run dev
    bash
    
    curl http://localhost:3000/api/health
    bash
    
    psql "postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform" -c "SELECT 1"
    bash
    
    npx auth secret
    bash
    
    cp env.local.template .env.local
    bash
    
    # Database backend (required)
    DB_BACKEND_MODE=k8s-postgres-fcm
    
    # Auth.js secret (required)
    AUTH_SECRET=your-secret
    
    # Database connection (required for k8s-postgres-fcm)
    DB_HOST=localhost
    DB_PORT=5432
    DB_NAME=ring_platform
    DB_USER=ring_user
    DB_PASSWORD=ring_password_2024
    
    # Google OAuth (required for sign-in)
    AUTH_GOOGLE_ID=your-client-id
    AUTH_GOOGLE_SECRET=your-client-secret
    bash
    
    docker run -d --name ring-postgres-dev \
      -e POSTGRES_USER=ring_user \
      -e POSTGRES_PASSWORD=ring_password_2024 \
      -e POSTGRES_DB=ring_platform \
      -p 5432:5432 \
      postgres:16-alpine
    bash
    
    export DATABASE_URL="postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform"
    psql "$DATABASE_URL" -f data/schema.sql
    psql "$DATABASE_URL" -f data/migrations/002_news_content_schema.sql
    psql "$DATABASE_URL" -f data/migrations/003_news_kingdom_upgrade.sql
    psql "$DATABASE_URL" -f data/migrations/004_payment_transactions.sql
    bash
    
    ./install.sh --quick
    bash
    
    npm run dev
    bash
    
    curl http://localhost:3000/api/health
    bash
    
    psql "postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform" -c "SELECT 1"
    bash
    
    npx auth secret
    bash
    
    cp env.local.template .env.local
    bash
    
    # Database backend (required)
    DB_BACKEND_MODE=k8s-postgres-fcm
    
    # Auth.js secret (required)
    AUTH_SECRET=your-secret
    
    # Database connection (required for k8s-postgres-fcm)
    DB_HOST=localhost
    DB_PORT=5432
    DB_NAME=ring_platform
    DB_USER=ring_user
    DB_PASSWORD=ring_password_2024
    
    # Google OAuth (required for sign-in)
    AUTH_GOOGLE_ID=your-client-id
    AUTH_GOOGLE_SECRET=your-client-secret
    bash
    
    docker run -d --name ring-postgres-dev \
      -e POSTGRES_USER=ring_user \
      -e POSTGRES_PASSWORD=ring_password_2024 \
      -e POSTGRES_DB=ring_platform \
      -p 5432:5432 \
      postgres:16-alpine
    bash
    
    export DATABASE_URL="postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform"
    psql "$DATABASE_URL" -f data/schema.sql
    psql "$DATABASE_URL" -f data/migrations/002_news_content_schema.sql
    psql "$DATABASE_URL" -f data/migrations/003_news_kingdom_upgrade.sql
    psql "$DATABASE_URL" -f data/migrations/004_payment_transactions.sql
    bash
    
    ./install.sh --quick
    bash
    
    npm run dev
    bash
    
    curl http://localhost:3000/api/health
    bash
    
    psql "postgresql://ring_user:ring_password_2024@localhost:5432/ring_platform" -c "SELECT 1"
    bash
    
    npx auth secret
    1. Docs
    2. /Examples
    3. /Basic Setup

    Updated Jun 28, 20263 min listen

    1. Docs
    2. /Examples
    3. /Basic Setup

    Updated Jun 28, 20263 min listen

    1. Docs
    2. /Examples
    3. /Basic Setup

    Updated Jun 28, 20263 min listen