# Contact Page Deployment - Run on Your VPS

## Quick Deployment Steps

```bash
# 1. SSH into your VPS
ssh root@YOUR_VPS_IP

# 2. Copy files from local machine
rsync -av --exclude='.git' \
  /home/cyprian/Documents/2026/startuplx/ \
  /var/www/startuplx/

# 3. Set environment variables
cd /var/www/startuplx
cp .env.example .env
# Edit .env with your actual values
nano .env

# 4. Deploy the stack
docker-compose down  # Stop any old containers
docker-compose up -d  # Start fresh deployment

# 5. Check status
docker-compose ps
docker-compose logs -f nginx

# 6. Test website
curl localhost:3000
```

## Expected Outputs

```bash
# After docker-compose up -d
Creating network "startuplx_app-network" ... done
Creating startuplx_postgres_1      ... done
Creating startuplx_redis_1         ... done
Creating startuplx_nginx_1         ... done
Creating startuplx_dashboard_1     ... done
Creating startuplx_n8n_1           ... done
```

## Verification Commands

```bash
# Check if website is responding
curl -I http://localhost:3000

# Check database
docker-compose exec postgres psql -U postgres -c "SELECT 1;"

# Check dashboard
curl -I http://localhost:3001

# Check n8n
curl -I http://localhost:5678
```

## Website Access

Once deployed:
- Website: `http://your-domain.com` or server IP
- Dashboard: `http://your-domain.com/dashboard`
- n8n: `http://your-domain.com/n8n`

## Next Actions

After deployment is complete, tell me to:
1. "Test lead capture flow" - Verify form submission works
2. "Initialize dashboard" - Set up KPI cards
3. "Send outreach emails" - Begin client pipeline