📋 LISTE RAPIDE - DÉPLOIEMENT FTP ===================================== ## EN LOCAL (AVANT UPLOAD) OPTION A (Production pure - recommandé) : 1. ✅ composer install --optimize-autoloader --no-dev 2. ✅ npm run build 3. ✅ Configurer .env pour production (DB, URL, etc.) 4. ✅ php artisan key:generate 5. ✅ php artisan config:cache 6. ✅ php artisan route:cache 7. ✅ php artisan view:cache 8. ✅ php artisan event:cache OPTION B (Avec possibilité de tests sur serveur) : 1. ✅ composer install --optimize-autoloader (SANS --no-dev) 2. ✅ npm run build 3. ✅ Configurer .env pour production 4. ✅ php artisan key:generate 5. ✅ php artisan config:cache 6. ✅ php artisan route:cache 7. ✅ php artisan view:cache 8. ✅ php artisan event:cache ## À UPLOADER (FTP) ✅ UPLOADER (ESSENTIEL) : - app/ - bootstrap/ (avec cache/) - config/ - database/ - lang/ - public/ (avec build/) - resources/ - routes/ - storage/ (structure + .gitignore) - vendor/ ⚠️ OBLIGATOIRE - .env ⚠️ (configuré) - artisan - composer.json - composer.lock ✅ UPLOADER (SI TESTS SUR SERVEUR) : - tests/ - phpunit.xml - vendor/ (AVEC dépendances dev) ❌ NE PAS UPLOADER : - .git/ - node_modules/ - .env.production - README.md - *.drawio ## SUR LE SERVEUR (cPanel) 1. 🗄️ Créer base de données MySQL 2. 📊 Importer SQL ou exécuter migrations 3. 🔧 Version PHP 8.2+ 4. ✅ Activer extensions PHP 5. 🔒 SSL/HTTPS 6. ⏰ Cron job : * * * * * php artisan schedule:run 7. 📁 Permissions : storage/ = 755 ## TESTS - Accéder au site - Créer un compte - Recevoir email de vérification - Se connecter - Vérifier les logs