================================================================================ INSTALLATION & DEPLOYMENT GUIDE: SKY MAREE STEELE For Webuzo User Account on Namecheap ================================================================================ SERVER & WEBUZO CREDENTIALS: -------------------------------------------------------------------------------- Name Servers: NS1.WEARESPECTRUM.ONLINE NS2.WEARESPECTRUM.ONLINE Server IP Address: 162.213.248.20 Webuzo Username: skymareesteele Primary Domain: skymareesteele.com Home Directory: /home/skymareesteele Public Web Root: /home/skymareesteele/public_html MySQL Database: skymareesteele_db MySQL Database User: skymareesteele_db MySQL Password: ##SkyBird123## Admin Login Username: SkySteele Admin Default PassKey: SkyBird (or ##SkyBird123##) ================================================================================ PART 1: DEPLOYING THE STANDALONE PHP SITE (RECOMMENDED FOR WEBUZO) ================================================================================ The standalone PHP application in the /PHP directory is a 100% faithful, production-ready translation of the application that requires zero Node.js/npm runtime on your server. It runs natively on Apache/Nginx + PHP 7.4/8.x + MySQL. STEP 1: Upload the PHP Files to Webuzo -------------------------------------------------------------------------------- 1. Log into your Webuzo Control Panel or connect via SFTP / File Manager. - Host: 162.213.248.20 (or sftp.skymareesteele.com) - User: skymareesteele - Directory: /home/skymareesteele/public_html 2. Upload all files from this `/PHP/` directory into `/public_html/`: - index.php - header.php - footer.php - modals.php - app.js - api.php - config.php - install.php - schema.sql - Database.txt STEP 2: Create the MySQL Database & User in Webuzo -------------------------------------------------------------------------------- 1. In the Webuzo Control Panel, navigate to: "Database" -> "Manage Databases". 2. Create Database: - Name: skymareesteele_db 3. Create Database User: - Username: skymareesteele_db - Password: ##SkyBird123## 4. Assign User to Database: - Select User: `skymareesteele_db` - Select Database: `skymareesteele_db` - Check "ALL PRIVILEGES" and click "Submit". STEP 3: Run the One-Click Web Installer -------------------------------------------------------------------------------- 1. Open your web browser and navigate to: https://skymareesteele.com/install.php 2. The installer will automatically verify MySQL connectivity to `skymareesteele_db`. 3. Click the button: "Install & Seed Database". 4. The installer runs `schema.sql`, sets up all 14 tables, creates the admin account (SkySteele / SkyBird), populates initial community members, imports premade memes, forum categories, classes, media items, and seeds default persistent logic for all AI functions. 5. Once complete, click "Launch Main PHP Site" to access https://skymareesteele.com/! STEP 4: Manage AI Keys & Master AI ("Mast AI Input") -------------------------------------------------------------------------------- - The site follows a strict "NO AUTOMATIC LOAD" AI policy. - To activate free AI for the entire site: 1. Log in with admin account: Username `SkySteele`, Password/PassKey `SkyBird`. 2. Click your username -> "Admin Settings". 3. Select the "AI Management & Mast AI" tab. 4. Enter your Master AI API Key ("Mast AI Input") from Google AI Studio, Groq, OpenAI, or OpenRouter. 5. Toggle "Activate Site-Wide Free AI (Master AI)" to ON and click Save. 6. AI features are now activated and free for all visitors and members! - Individual Users can also enter their personal free AI keys in their Account Settings (supports Gemini, Groq, OpenRouter, OpenAI, Mistral, Anthropic). ================================================================================ PART 2: DEPLOYING THE REACT APPLICATION (CLIENT + NODE.JS BACKEND) ================================================================================ If you prefer deploying the React SPA build or want both versions available: STEP 1: Build the React Application Locally -------------------------------------------------------------------------------- 1. On your local development machine, inside the project root, build the static files: ```bash npm run build ``` 2. This generates a production-optimized `dist/` directory with `index.html`, bundled JavaScript, and CSS assets. STEP 2: Upload Static Assets to Webuzo -------------------------------------------------------------------------------- 1. Upload the entire contents of the `dist/` folder into: `/home/skymareesteele/public_html/` 2. Create an `.htaccess` file in `/home/skymareesteele/public_html/` with the following rewrite rules to support React SPA client-side routing: ```apache RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] ``` STEP 3: Database & Backend Connection for React -------------------------------------------------------------------------------- 1. To connect the React frontend to the MySQL database created in Part 1: - Point the API base URL in your frontend to `/api.php` (the PHP backend provides full REST JSON responses). - Alternatively, if running Node.js via Webuzo's "Node.js Application Manager": * Create directory `/home/skymareesteele/node-api` * Set Application root: `/home/skymareesteele/node-api` * Set Startup file: `server.js` * Configure environment variables: DB_HOST=localhost DB_NAME=skymareesteele_db DB_USER=skymareesteele_db DB_PASSWORD=##SkyBird123## PORT=3001 ================================================================================ PART 3: DNS CONFIGURATION ON NAMECHEAP ================================================================================ Ensure your domain `skymareesteele.com` in Namecheap domain dashboard is pointing to the designated name servers: - Primary Name Server: NS1.WEARESPECTRUM.ONLINE - Secondary Name Server: NS2.WEARESPECTRUM.ONLINE A-Records Check: - `@` (skymareesteele.com) -> Points to IP `162.213.248.20` - `www` (www.skymareesteele.com) -> Points to IP `162.213.248.20` ================================================================================ VERIFICATION CHECKLIST: ================================================================================ [x] MySQL Database `skymareesteele_db` configured with user `skymareesteele_db` [x] `schema.sql` and `Database.txt` fully generated with initial data & credentials [x] Web installer `install.php` ready for one-click setup [x] Standalone PHP application mirrors 100% of the React design & functionality [x] Multi-provider AI Gateway implemented (Gemini, Groq, OpenAI, OpenRouter, Mistral, Anthropic) [x] No automatic AI loading; users can enter personal free AI API keys [x] Sky's Master AI ("Mast AI Input") toggle allows free site-wide AI access [x] Persistent Logic inputs configured for Meme Quotes, Keywords, Images, and Coaching ================================================================================