46 lines
954 B
Markdown
46 lines
954 B
Markdown
|
|
# Execute Deployment - Correct Command
|
||
|
|
|
||
|
|
## ❌ Wrong Location
|
||
|
|
|
||
|
|
You're currently in: `~/projects/proxmox/`
|
||
|
|
|
||
|
|
The script is in: `~/projects/proxmox/explorer-monorepo/`
|
||
|
|
|
||
|
|
## ✅ Correct Command
|
||
|
|
|
||
|
|
**Option 1: Navigate first**
|
||
|
|
```bash
|
||
|
|
cd ~/projects/proxmox/explorer-monorepo
|
||
|
|
bash EXECUTE_DEPLOYMENT.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
**Option 2: Run from current location**
|
||
|
|
```bash
|
||
|
|
cd ~/projects/proxmox/explorer-monorepo && bash EXECUTE_DEPLOYMENT.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
**Option 3: Use quick run script (from anywhere)**
|
||
|
|
```bash
|
||
|
|
bash ~/projects/proxmox/explorer-monorepo/QUICK_RUN.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
## What the Script Does
|
||
|
|
|
||
|
|
1. Tests database connection
|
||
|
|
2. Checks for existing tables
|
||
|
|
3. Runs migration if needed
|
||
|
|
4. Stops existing server
|
||
|
|
5. Starts server with database
|
||
|
|
6. Tests all endpoints
|
||
|
|
7. Shows status summary
|
||
|
|
|
||
|
|
## Expected Results
|
||
|
|
|
||
|
|
- ✅ Database connected
|
||
|
|
- ✅ Migration complete
|
||
|
|
- ✅ Server running on port 8080
|
||
|
|
- ✅ All endpoints operational
|
||
|
|
|
||
|
|
**Run the command from the explorer-monorepo directory!**
|
||
|
|
|