44 lines
882 B
Markdown
44 lines
882 B
Markdown
# Quick Deployment Fix
|
|
|
|
## Issue
|
|
Script not found when running from wrong directory.
|
|
|
|
## Solution
|
|
|
|
### Run from Project Root
|
|
|
|
```bash
|
|
# Make sure you're in the project root
|
|
cd /home/intlc/projects/proxmox
|
|
|
|
# Then run the script
|
|
./scripts/deploy-to-proxmox-host.sh
|
|
```
|
|
|
|
### Or Use Full Path
|
|
|
|
```bash
|
|
/home/intlc/projects/proxmox/scripts/deploy-to-proxmox-host.sh
|
|
```
|
|
|
|
## What the Script Does
|
|
|
|
1. Copies `smom-dbis-138-proxmox/` to Proxmox host at `/opt/smom-dbis-138-proxmox`
|
|
2. SSHs into the host
|
|
3. Runs deployment automatically
|
|
|
|
## Alternative: Manual Steps
|
|
|
|
If the script doesn't work, do it manually:
|
|
|
|
```bash
|
|
# 1. Copy to Proxmox host
|
|
scp -r /home/intlc/projects/proxmox/smom-dbis-138-proxmox root@192.168.11.10:/opt/
|
|
|
|
# 2. SSH and deploy
|
|
ssh root@192.168.11.10
|
|
cd /opt/smom-dbis-138-proxmox
|
|
chmod +x scripts/deployment/*.sh install/*.sh
|
|
./scripts/deployment/deploy-all.sh
|
|
```
|