# MyyMotto Deployment Instructions - myymotto.arudhih.com

## Quick Setup Guide

### 1. Upload Files to cPanel
- Login to arudhih.com cPanel
- Navigate to File Manager → public_html
- Create folder: `myymotto`
- Upload and extract all files in the myymotto directory

### 2. Create Subdomain
- cPanel → Subdomains
- Create subdomain: `myymotto` for domain: `arudhih.com`
- Document Root: `public_html/myymotto`

### 3. Setup Node.js Application
- cPanel → Node.js Apps
- Create New Application:
  - Node.js Version: 18.x or higher
  - Application Root: `public_html/myymotto`
  - Application URL: `myymotto.arudhih.com`
  - Startup File: `dist/index.js`

### 4. Environment Configuration
- Rename `.env.production` to `.env`
- Update DATABASE_URL with your PostgreSQL credentials

### 5. Database Setup
- Create PostgreSQL database in cPanel
- Run in terminal: `cd public_html/myymotto && npm run db:push`

### 6. Install Dependencies
```bash
cd public_html/myymotto
npm install --production
```

### 7. Start Application
- Return to Node.js Apps and click "Start"

### 8. SSL Setup
- Enable Let's Encrypt SSL for myymotto.arudhih.com
- Force HTTPS redirect

## Test These URLs:
- https://myymotto.arudhih.com
- https://myymotto.arudhih.com/privacy-policy
- https://myymotto.arudhih.com/terms-of-service
- https://myymotto.arudhih.com/subscribe

## Ready for Razorpay Live Mode Application!