Files
dealplustech/skills/easypanel-deploy/README.md
Kunthawat Greethong 45961b8d76 refactor: Move Astro project to root directory
- Move all Astro files from dealplustech-astro/ to root
- Archive Next.js code in _nextjs-backup/
- Update .gitignore for Astro project
- Simplify project structure

This completes the migration from Next.js to Astro.
The Astro project is now at the root level.
2026-03-03 10:21:42 +07:00

89 lines
1.6 KiB
Markdown

# 🚀 Easypanel Deployment Skill - Quick Start
## 5-Minute Setup
### Step 1: Verify Token (Already Done ✅)
Your token is stored in: `~/.easypanel/credentials`
### Step 2: Deploy Your First App
```bash
cd dealplustech-astro
# First deployment (creates service, saves ID)
./skills/easypanel-deploy/deploy.sh deploy
```
### Step 3: Update Your App
After making code changes:
```bash
# Rebuild and redeploy (uses saved ID)
./skills/easypanel-deploy/deploy.sh update
```
### Step 4: Check Status
```bash
# Anytime status check
./skills/easypanel-deploy/deploy.sh status
```
---
## Commands Cheat Sheet
| Command | What It Does |
|---------|-------------|
| `./deploy.sh deploy` | First-time deployment (saves ID) |
| `./deploy.sh update` | Rebuild and redeploy (uses saved ID) |
| `./deploy.sh restart` | Restart service |
| `./deploy.sh status` | Show status |
| `./deploy.sh logs` | View logs |
| `./deploy.sh list` | List all projects |
---
## How State Works
**First Deploy:**
```bash
./deploy.sh deploy
# Saves: service ID, project ID to ~/.easypanel/state.json
```
**Every Update After:**
```bash
./deploy.sh update
# Reads: service ID from state.json
# Does: Rebuild + Redeploy
```
**No need to remember IDs - skill handles it!**
---
## Files Created
After first deploy:
```
~/.easypanel/
├── credentials # Your API token (secure)
└── state.json # Service & project IDs (auto-generated)
```
---
## Next Steps
1. **Deploy now:** `./deploy.sh deploy`
2. **Check status:** `./deploy.sh status`
3. **Make changes, then update:** `./deploy.sh update`
---
**Full docs:** `SKILL_v2.md`