42 lines
1.7 KiB
Bash
Executable File
42 lines
1.7 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🚀 Manual Salesforce Deployment Instructions"
|
|
echo "============================================="
|
|
echo ""
|
|
echo "Since we don't have Salesforce CLI authentication set up, here are the manual steps:"
|
|
echo ""
|
|
echo "1. 📋 FILES TO DEPLOY:"
|
|
echo " - force-app/main/default/classes/PDFGenerationProxy.cls"
|
|
echo " - force-app/main/default/classes/PDFGenerationProxy.cls-meta.xml"
|
|
echo " - force-app/main/default/lwc/propertyTemplateSelector/"
|
|
echo ""
|
|
echo "2. 🔐 AUTHENTICATION OPTIONS:"
|
|
echo ""
|
|
echo " OPTION A - Web Login (Recommended):"
|
|
echo " sf org login web --alias myorg"
|
|
echo ""
|
|
echo " OPTION B - JWT Authentication:"
|
|
echo " sf org login jwt --client-id YOUR_CLIENT_ID --jwt-key-file server.key --username YOUR_USERNAME --alias myorg"
|
|
echo ""
|
|
echo "3. 🚀 DEPLOYMENT COMMANDS:"
|
|
echo " sf project deploy start --source-dir force-app/main/default/classes --target-org myorg"
|
|
echo " sf project deploy start --source-dir force-app/main/default/lwc --target-org myorg"
|
|
echo ""
|
|
echo "4. ✅ VERIFICATION:"
|
|
echo " sf org display --target-org myorg"
|
|
echo ""
|
|
echo "📁 Current files ready for deployment:"
|
|
echo "======================================"
|
|
find force-app -name "*.cls" -o -name "*.js" -o -name "*.xml" | sort
|
|
echo ""
|
|
echo "🎯 The PDFGenerationProxy.cls is already updated with:"
|
|
echo " ✅ return_download_link: true support"
|
|
echo " ✅ Proper error handling"
|
|
echo " ✅ Node.js API integration"
|
|
echo " ✅ 6MB size limit handling"
|
|
echo ""
|
|
echo "💡 After deployment, test with:"
|
|
echo " - Generate a PDF with return_download_link: true"
|
|
echo " - Verify the download link is returned"
|
|
echo " - Test the download endpoint"
|