SHIVETI ONLINE RADIO - cPanel Installation Guide ================================================ This is a cPanel-compatible version of your Shiveti Online Radio application. 🚀 QUICK INSTALLATION STEPS: 1. UPLOAD FILES TO cPanel: - Compress the cpanel-radio folder into a ZIP file - Upload the ZIP file to your cPanel File Manager - Extract it to your domain's public_html directory - Your file structure should look like: /public_html/ ├── app.js ├── package.json ├── .env (optional - cPanel provides PORT automatically) ├── public/ │ ├── index.html │ ├── assets/ │ ├── robots.txt │ └── sitemap.xml └── INSTALL.txt 2. SETUP NODE.JS APPLICATION IN cPanel: - In cPanel, find "Node.js Selector" or "Node.js Apps" - Create a new Node.js application: * App Domain: your-domain.com * App URL: / (MUST be root, not subdirectory) * Application Root: public_html * Application Startup File: app.js * Node.js Version: 14.x or higher - Click "Create" ⚠️ IMPORTANT: The app MUST be deployed at the root (/) level. Do NOT use a subdirectory as the assets are built for root deployment. 3. INSTALL DEPENDENCIES: - In the Node.js app dashboard, open terminal - Run: npm install - This will install only Express (minimal dependencies) 4. START THE APPLICATION: - Click "Start App" in the Node.js app dashboard - Your radio app should now be live! 📋 WHAT'S INCLUDED: ✅ CommonJS syntax (require/module.exports) ✅ Simplified dependencies (only Express) ✅ Pre-built static files (no compilation needed) ✅ In-memory data storage (no database required) ✅ Two radio stations with correct stream URLs: - All India Radio AIR Agartala PC (pbaudio131) - FM Ujjayanta Agartala (pbaudio130) ✅ All API endpoints for frontend functionality ✅ SEO-optimized HTML with meta tags ✅ Production-ready configuration 🌐 FEATURES WORKING: - Live radio streaming - Station search - Feedback submission - Archive browsing - Responsive design - Mobile-friendly 🔧 TROUBLESHOOTING: If the app doesn't start: 1. Check Node.js version (minimum 14.x) 2. Verify app.js is set as startup file 3. Ensure all files were uploaded correctly 4. Make sure App URL is set to / (root level) 5. Check error logs in cPanel If static files don't load: - Ensure the app is deployed at root level (/) not a subdirectory - The assets are built with absolute paths for root deployment If radio doesn't play: - This is normal if the live streams are temporarily offline - The player will retry automatically - Check browser console for specific streaming errors 📞 SUPPORT: For technical support, contact your hosting provider or visit: https://shiveti.com/support 🎉 Your Shiveti Online Radio is ready to broadcast!