Changes: - Downgraded boxsdk to 3.x (compatible API) - Created .env file with all credentials - Fixed requirements.txt versions Python automation now ready for testing: ✅ Virtual environment created ✅ All dependencies installed ✅ Box connection working ✅ Database connection working ⚠️ DAM OAuth (same creds as PHP, might be temp server issue) Next steps: 1. Test DAM connection (may need to retry) 2. Run A1→A2 script 3. Monitor logs 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
1,007 B
Bash
33 lines
1,007 B
Bash
# Ferrero Automation Environment Variables
|
|
|
|
# Environment (staging or production)
|
|
ENV=staging
|
|
|
|
# DAM Credentials
|
|
DAM_BASE_URL=https://ppr.dam.ferrero.com/otmmapi
|
|
DAM_AUTH_URL=https://ppr.dam.ferrero.com/otdsws/oauth2/token
|
|
DAM_CLIENT_ID=otds-OLV
|
|
DAM_CLIENT_SECRET=hs28LZ9ZzQ5I9rlW3P7Wwyw850OatlC1
|
|
|
|
# Box Credentials
|
|
BOX_CLIENT_ID=l2atwxxq4xna7phcjr2uifm4mbah69qp
|
|
BOX_CLIENT_SECRET=6XcuCQ6akpk9daE0UHaGSv3mSxWaER4l
|
|
BOX_JWT_KEY_ID=n1izyn3l
|
|
BOX_PASSPHRASE=971585f5fd6171428c14a7c8899af5ab
|
|
BOX_ENTERPRISE_ID=43984435
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5433
|
|
DB_USER=ferrero_user
|
|
DB_PASSWORD=ferrero_pass_2025
|
|
|
|
# Mailgun (for email notifications) - Optional for now
|
|
MAILGUN_API_KEY=your_mailgun_api_key_here
|
|
MAILGUN_DOMAIN=mg.yourdomain.com
|
|
|
|
# Webhook Configuration - Optional for now
|
|
CAMPAIGN_STATUS_WEBHOOK_URL=https://your-system.com/api/campaign-status
|
|
WEBHOOK_AUTH_TOKEN=your_webhook_auth_token
|
|
BOX_WEBHOOK_PRIMARY_KEY=your_box_webhook_primary_key
|
|
BOX_WEBHOOK_SECONDARY_KEY=your_box_webhook_secondary_key
|