# cPanel Deployment Package

## 📋 Contents

This folder contains all files needed for cPanel deployment.

## 🚀 Quick Deployment Steps

1. **Upload all files** to your cPanel (via FTP/File Manager)
   - Upload to: `public_html/` (or your domain folder)

2. **Point domain to public folder:**
   - Option A: Move contents of `public/` to `public_html/`
   - Option B: Point domain to `public_html/your-app/public`

3. **Create .env file:**
   - Copy `.env.example` to `.env`
   - Update with your domain and database credentials
   - Set `APP_KEY` (see step 4)

4. **Run setup:**
   - Visit: `https://yourdomain.com/setup.php?run=setup`
   - Wait for completion
   - **DELETE setup.php immediately after!**

5. **Test:**
   - Visit: `https://yourdomain.com`
   - Should see your application

## 📚 Documentation

See `SHARED_HOSTING_DEPLOYMENT.md` for detailed instructions.

## ⚠️ Important Files

- `setup.php` - Run this first (then delete it!)
- `.env.example` - Copy to `.env` and configure
- `.htaccess` - Already configured for clean URLs

## 🔒 Security

After deployment:
- Delete `setup.php`, `generate-key.php`, `migrate.php`
- Set `APP_DEBUG=false` in `.env`
- Verify `.env` is not publicly accessible

## ✅ Post-Deployment

- Test all routes
- Check `storage/logs/laravel.log` for errors
- Set up cron jobs (see documentation)
- Monitor for first 24 hours