Required Variables
The platform requires the following environment variables to function:AWS Configuration
Your AWS IAM access key ID with S3 permissionsUsed in:
upload-service/src/utils/uploadFiles.ts:5deploy-service/src/utils/donwloadS3Folde.ts:6
Your AWS IAM secret access key corresponding to the access key IDUsed in:
upload-service/src/utils/uploadFiles.ts:6deploy-service/src/utils/donwloadS3Folde.ts:7
The AWS region where your S3 bucket is located (e.g.,
us-east-1, us-west-2)Used in:upload-service/src/utils/uploadFiles.ts:7deploy-service/src/utils/donwloadS3Folde.ts:8
S3 Bucket Configuration
The platform uses a hardcoded S3 bucket name:vercel-frontend
This bucket name is referenced in:
upload-service/src/utils/uploadFiles.ts:20deploy-service/src/utils/donwloadS3Folde.ts:16deploy-service/src/utils/donwloadS3Folde.ts:44deploy-service/src/utils/donwloadS3Folde.ts:76
Setting Environment Variables
- Development (.env)
- Production (Linux/macOS)
- Production (Windows)
- Docker
Create a
.env file in the root of each service directory:Both
upload-service and deploy-service need their own .env files with these variables.Verifying Configuration
After setting environment variables, verify they’re accessible:Next Steps
AWS Setup
Configure your AWS S3 bucket and IAM credentials
Redis Setup
Install and configure Redis for queue management