Website-creator: always create locally first, then ask to sync

This commit is contained in:
Kunthawat Greethong
2026-03-15 15:02:10 +07:00
parent e5c299216a
commit 58ab725ef9
2 changed files with 35 additions and 46 deletions

View File

@@ -811,14 +811,15 @@ python3 scripts/create_astro_website.py \
--features "blog,products,contact" \
--umami-id "xxx-xxx-xxx" \
--output "./dealplustech-website"
# Local only (skip Gitea/Easypanel):
python3 scripts/create_astro_website.py \
--name "My Website" \
--local-only \
--output "./my-website"
```
**Workflow:**
1. Creates website locally
2. Shows preview instructions (npm run dev)
3. Asks: "Sync to Gitea and deploy?"
- **No:** Stay local, you're done
- **Yes:** Proceed with Gitea sync + Easypanel deploy
### Refactor Existing Website
```bash