Skip to main content

Multiple Environments Configuration

This guide explains how to configure and manage Kexa across different environments (development, staging, production).

Environment Structure

1. Directory Structure

config/
├── env/
│ ├── development.json
│ ├── staging.json
│ └── production.json

Environment Management

1. Environment Variables

# Development
export NODE_CONFIG_TS_ENV=development

# Staging
export NODE_CONFIG_TS_ENV=staging

# Production
export NODE_CONFIG_TS_ENV=production

2. Running Scans

bun run Kexa/main.ts

3. Debugging

The level are from 0 to 9 ( verbose )

DEBUG_MODE=9

Next Steps

  1. Check Configuration Guide
  2. Explore Usage Guide
  3. Read Best Practices