Files
sim/sim/.env.example
Waleed Latif 92b20455f1 feat(files): local upload, s3 upload for pdf/docx/csv parsing (#213)
* feat(file-parse): local upload; new block

* feat(file-parse): complete for local usage; need to integrate S3 for hosted version

* fix(file-parse): pdf parsing

* added support for multiple file upload & delete

* added s3 file upload/fetch for hosted platform

* swapped console for logger

* added unit tests for files

* add s3 client, resolved build error

---------

Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu>
2025-04-01 03:52:50 -07:00

31 lines
1.3 KiB
Plaintext

# Database (Required)
DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres"
# Authentication (Required)
BETTER_AUTH_SECRET=your_secret_key # Use `openssl rand -hex 32` to generate, or visit https://www.better-auth.com/docs/installation
BETTER_AUTH_URL=http://localhost:3000
## Security (Required)
ENCRYPTION_KEY=your_encryption_key # Use `openssl rand -hex 64` to generate
# Email Provider (Optional)
# RESEND_API_KEY= # Uncomment and add your key from https://resend.com to send actual emails
# If left commented out, emails will be logged to console instead
# StackBlitz (Webcontainer) API Key (Optional, for handling sandboxed code execution for functions/custom-tools)
# WEBCONTAINER_CLIENT_ID= # Uncomment and add your key from https://stackblitz.com/docs/webcontainer-api#webcontainer-client-id
# S3 Storage Configuration (Optional)
# Set USE_S3=true to enable S3 storage in development
# USE_S3=true
# AWS Credentials (Required when USE_S3=true)
# AWS_ACCESS_KEY_ID=your-access-key-id
# AWS_SECRET_ACCESS_KEY=your-secret-access-key
# S3 Configuration (Required when USE_S3=true)
# S3_BUCKET_NAME=your-bucket-name
# AWS_REGION=us-east-1
# Optional: Custom S3 Base URL (for custom domains or non-AWS S3-compatible storage)
# S3_BASE_URL=https://your-custom-domain.com