No description
Production-ready deployment package with database schema and server setup guide. NEW FILES: 1. DEPLOYMENT_GUIDE.md - Complete server deployment instructions 2. database/init.sql - PostgreSQL database initialization script DEPLOYMENT_GUIDE.md includes: ✓ Server deployment steps (rsync/scp) ✓ PostgreSQL setup (Docker or native) ✓ Python environment setup ✓ Configuration guide ✓ Cron job examples ✓ OAuth2 vs mTLS setup instructions ✓ Testing checklist ✓ Troubleshooting guide ✓ Production checklist ✓ Security hardening steps database/init.sql includes: ✓ Complete schema with all 35 columns in master_assets ✓ All 4 tables (master_assets, derivative_assets, asset_events, workflow_state) ✓ Campaign relationship fields (global_master_campaign_id, global_master_folder_id, local_campaign_id) ✓ JSONB full_metadata column ✓ 12 indexes for performance ✓ 4 triggers (auto-update timestamps, event logging) ✓ 2 helper functions ✓ Proper permissions for ferrero_user KEY FEATURES: - Self-contained deployment - Works with Docker or native PostgreSQL - Includes all schema additions from this session - OAuth2 and mTLS configuration documented - Cron job templates provided - Security checklist included DEPLOYMENT: 1. Copy Python-Version/ folder to server 2. Run database init.sql 3. Install Python dependencies 4. Update .env for server 5. Test connections 6. Set up cron jobs Everything needed for production deployment is included. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| Python-Version | ||
| src | ||
| .gitignore | ||
| 43984435_n1izyn3l_config.json | ||
| Box-config.json | ||
| campaign_response.json | ||
| check_folder_status.php | ||
| clean_workflow.php | ||
| config.example.json | ||
| config.php | ||
| config_v3.php | ||
| Content Scaling Flow V3.postman_collection.json | ||
| Content Scaling Flow.postman_collection_Oliver(New).json | ||
| Content Scaling Flow_Oliver.Postman_Collection.json | ||
| DAM_LOOKUPDOMAINS_RAW.json | ||
| debug_assets.php | ||
| debug_status.php | ||
| ECOMMERCE_ALLOWED_FIELDS.md | ||
| EXTRACTION_GUIDE.md | ||
| fetch_lookupdomains.php | ||
| HANDOFF_NEXT_SESSION.md | ||
| index.php | ||
| PROJECT_STATUS.md | ||
| PROJECT_STATUS_2025-10-24.md | ||
| PROJECT_STATUS_2025-10-28.md | ||
| PROJECT_STATUS_2025-10-29.md | ||
| PROJECT_STATUS_2025-10-30.md | ||
| PROJECT_STATUS_2025-11-03.md | ||
| PYTHON_AUTOMATION_PLAN.md | ||
| QUESTIONS_FOR_DAM_IT_TEAM.md | ||
| README.md | ||
| simple_test.php | ||
| test_asset_detail.php | ||
| test_creativex.php | ||
| test_direct_download.php | ||
| test_filename_parser.php | ||
| test_runner.php | ||
| test_search.php | ||
| test_upload.jpg | ||
| test_upload_standalone.php | ||
| UPLOAD_FROM_BOX_COMPLETE.md | ||
| UPLOAD_FROM_BOX_PHASE2_COMPLETE.md | ||
| UPLOAD_FROM_BOX_STATUS.md | ||
| UPLOAD_TROUBLESHOOTING.md | ||
| workflow.php | ||
| workflow_v3.php | ||
Ferrero OpenText Content Scaling Workflow
Complete automation system for Ferrero DAM content scaling workflows
Version: 2.0.0
Status: ✅ Production Ready
Last Updated: November 3, 2025
📚 START HERE
PROJECT_STATUS_2025-11-03.md ← Complete status report with everything you need to know!
🎯 What This System Does
Automates the complete content scaling workflow:
- A1→A2: Download Local Adaptation master assets → Box
- A2→A3: Upload agency files from Box → DAM
- B1→B2: Download Global Master assets → Box
- A5→A6: Handle rework assets
Features: V2 naming, 27-28 MVP metadata fields, Box metadata integration, automated status updates, email notifications, webhook integration.
✅ What's Working
- ✅ PHP web interface (4 workflows)
- ✅ Python automation (3 scripts)
- ✅ Box metadata integration (CreativeX)
- ✅ Full metadata preservation (JSONB)
- ✅ Email notifications (detailed)
- ✅ Log rotation (1 month)
- ✅ All tested and production-ready
🚀 Quick Start
PHP App:
http://localhost:8888/ferrero-opentext/workflow_v3.php
Python Scripts:
cd Python-Version
source venv/bin/activate
python scripts/test_connection.py
📖 Documentation
Essential Reading:
- PROJECT_STATUS_2025-11-03.md - Complete status (read this!)
- Python-Version/DEPLOYMENT.md - Production deployment
- Python-Version/README.md - Python automation guide
All workflows documented with screenshots and examples.
Repository: bitbucket.org:zlalani/ferrero-opentext.git
Latest Commit: b3fbb8b
Status: Production Ready ✅