mirror of
https://github.com/myronblair/epic-download
synced 2026-06-30 17:51:00 -05:00
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
# Epic Travel & Expeditions - PHP/cPanel Quick Start
|
|
|
|
## 🎯 What You Get
|
|
A complete travel website with admin dashboard that works on ANY cPanel hosting - no SSH, Python, or special permissions needed!
|
|
|
|
## ⚡ Quick Installation (15 minutes)
|
|
|
|
### 1️⃣ Create Database (2 min)
|
|
- cPanel → MySQL Databases
|
|
- Create database & user
|
|
- Grant ALL privileges
|
|
- Note credentials
|
|
|
|
### 2️⃣ Import SQL (1 min)
|
|
- cPanel → phpMyAdmin
|
|
- Select database
|
|
- Import → Choose `database_schema.sql`
|
|
- Click Go
|
|
|
|
### 3️⃣ Upload Files (5 min)
|
|
**Via FTP or File Manager:**
|
|
- Upload `frontend/*` to `public_html/`
|
|
- Upload `api/*` to `public_html/api/`
|
|
- Create `public_html/api/uploads/` folder
|
|
|
|
### 4️⃣ Configure (3 min)
|
|
Edit `api/config.php`:
|
|
```php
|
|
DB_NAME = 'your_database'
|
|
DB_USER = 'your_username'
|
|
DB_PASS = 'your_password'
|
|
JWT_SECRET_KEY = 'generate_random_key'
|
|
ALLOWED_ORIGINS = 'https://yourdomain.com'
|
|
```
|
|
|
|
### 5️⃣ Set Password (2 min)
|
|
- Visit: `yourdomain.com/api/setup_password.php`
|
|
- Enter password
|
|
- Check "Update database"
|
|
- Click Generate
|
|
- DELETE the setup_password.php file
|
|
|
|
### 6️⃣ Set Permissions (1 min)
|
|
- Folder `api/uploads/` → `755`
|
|
- Files → `644`
|
|
|
|
### 7️⃣ Test (1 min)
|
|
✅ Visit: `yourdomain.com` → See website
|
|
✅ Visit: `yourdomain.com/api/` → See API health
|
|
✅ Visit: `yourdomain.com/admin` → Login works
|
|
|
|
## 🎉 Done!
|
|
Your Epic Travel website is live!
|
|
|
|
## 📦 Package Contents
|
|
- **frontend/** - React production build
|
|
- **api/** - PHP backend (no Python needed!)
|
|
- **database_schema.sql** - MySQL structure
|
|
- **README.md** - Full installation guide
|
|
|
|
## 🔐 Default Login
|
|
- Email: `admin@epictravel.com`
|
|
- Password: Set during installation
|
|
|
|
## ❓ Need Help?
|
|
Read the full `README.md` for detailed instructions and troubleshooting.
|
|
|
|
Contact: advisor@epictravelexpeditions.com
|
|
Phone: +1 (817) 266-2022
|