Skip to content

Latest commit

 

History

History
66 lines (50 loc) · 1.43 KB

File metadata and controls

66 lines (50 loc) · 1.43 KB

Content Forge AI - Deployment Script Ready

✅ Script sudah siap digunakan!

Script deployment sudah dibuat dengan kredensial yang benar:

SSH Details:

  • Host: 96.9.212.72
  • User: jixGPXKTrdtOezXO (huruf O, bukan angka 0)
  • Password: gcsObp5HmFRJFzGJ
  • Port: 22
  • Deploy Path: /var/www/content-forge-ai

🚀 Cara menjalankan:

cd ~/Downloads/content-forge-ai-v2
./deploy.sh

Script akan otomatis:

  1. ✅ Verify build
  2. ✅ Test SSH connection
  3. ✅ Setup server directories
  4. ✅ Upload frontend files
  5. ✅ Upload backend files
  6. ✅ Setup backend (install Node.js, npm dependencies)
  7. ✅ Setup PM2 (auto-start backend service)
  8. ✅ Test deployment

⚠️ Catatan SSH Connection:

Jika SSH connection refused:

  1. Cek SSH service di server:

    sudo systemctl status ssh
    sudo systemctl start ssh
  2. Atau enable SSH via ServerAvatar dashboard:

    • Buka ServerAvatar console/terminal
    • Start SSH service
  3. Cek firewall:

    sudo ufw status
    sudo ufw allow 22/tcp

📋 Setelah Deployment Berhasil:

  1. Configure OpenLiteSpeed:

    • Akses: https://96.9.212.72:7080
    • Follow Step 7 di DEPLOYMENT_STANDALONE.md
  2. Test Application:

    • Frontend: http://96.9.212.72
    • Backend API: http://96.9.212.72/api/health

🔧 Troubleshooting:

Jika ada error, script akan menampilkan detail. Check log:

cat deploy-output.log