The enterprise edition requires a postgres and redis instance to run, and a license key to activate.
1
Run the dev container
Follow the instructions here to run the dev container.
2
Add the following env variables in `server/api/.env`
Pase the following env variables in server/api/.env
Copy
Ask AI
## these variables are set to align with the .devcontainer/docker-compose.yml fileAP_DB_TYPE=POSTGRESAP_DEV_PIECES="your_piece_name"AP_ENVIRONMENT="dev"AP_EDITION=eeAP_EXECUTION_MODE=SANDBOXEDAP_FRONTEND_URL="http://localhost:4200"AP_WEBHOOK_URL="http://localhost:3000"AP_PIECES_SOURCE='FILE'AP_PIECES_SYNC_MODE='NONE'AP_LOG_LEVEL=debugAP_LOG_PRETTY=trueAP_QUEUE_MODE=REDISAP_REDIS_HOST="redis"AP_REDIS_PORT="6379"AP_TRIGGER_DEFAULT_POLL_INTERVAL=1AP_CACHE_PATH=/workspace/cacheAP_POSTGRES_DATABASE=activepiecesAP_POSTGRES_HOST=dbAP_POSTGRES_PORT=5432AP_POSTGRES_USERNAME=postgresAP_POSTGRES_PASSWORD=A79Vm5D4p2VQHOp2gd5AP_ENCRYPTION_KEY=427a130d9ffab21dc07bcd549fcf0966AP_JWT_SECRET=secret
3
Activate Your License Key
After signing in, activate the license key by going to Platform Admin -> Setup -> License Keys