Installation¶
System requirements¶
| Component | Requirement |
|---|---|
| Node.js | 20.0 or higher |
| PostgreSQL | 15 or higher |
| npm | 9.0 or higher |
| OS | macOS, Linux, Windows |
Method 1: Local development¶
Install Node.js dependencies¶
Set up PostgreSQL¶
Create the database:
Initialize all schemas:
This executes four schema files in order:
schema.sql— Core tables (emails, tasks, auto-replies, app settings)schema-settings.sql— Users, auth, billing, API keys, token managementschema-calendar.sql— Calendar events, Cal.com settingsschema-streamboost.sql— Stream state, announcements, platform credentials, captions
Start the servers¶
# Start both frontend and backend concurrently
npm run dev:all
# Or start them separately
npm run dev # Frontend (Vite) — port 5173
npm run server # Backend (Express) — port 3001
Method 2: Docker¶
# Build and start all services
docker-compose up -d
# Access the application
# Frontend: http://localhost:5173
# Backend: http://localhost:3001
Method 3: Production with PM2¶
The repository includes a PM2 ecosystem config:
# Install PM2 globally
npm install -g pm2
# Build the frontend
npm run build
# Start with PM2
pm2 start pm2.ecosystem.config.cjs
n8n workflow setup (optional)¶
n8n powers the automated email processing pipeline. To set it up:
- Install n8n (self-hosted or cloud)
- Import the workflow files from
n8n-workflows/: email-agent-workflow.json— IMAP → AI → SMTP pipelinecalcom-calendar-sync.json— Cal.com booking syncdigital-audit-workflow.json— Security audit automation01_YouTube_Live_Detector.json— StreamBoost live detection02_Cross_Posting_AI.json— Multi-platform announcements- Configure credentials in n8n for your email, Claude API, and database
- Activate the workflows
Verify installation¶
Expected response:
Next steps¶
- Configuration — Environment variables and API key setup
- Features — Explore platform capabilities