Kunthawat Greethong
6e183c584b
feat: Auto-generate admin password from project folder name
...
Changes:
- Removed --admin-password argument (no longer needed)
- Password auto-generated: folder_name.lower().replace(' ', '')
- Each website has unique password
- No need to ask user for password
Examples:
- moreminimore → password: moreminimore
- My Website → password: mywebsite
- deal-plustech → password: deal-plustech
Benefits:
- Simple (same as folder name)
- Secure (different per project)
- No password management needed
- Not stored in git (in .env)
2026-03-12 09:53:17 +07:00
Kunthawat Greethong
61321669d1
fix: Add missing imports to migrate_existing_website.py
...
- Added argparse, json, shutil, re, subprocess imports
- Fixed NameError when running script
- Script now works correctly
2026-03-12 09:45:48 +07:00
Kunthawat Greethong
20d1e24389
feat: Add smart website migration with tech stack detection
...
NEW MIGRATION WORKFLOW:
1. DETECT - Analyzes tech stack (Astro, Tailwind, CSS, etc.)
2. PLAN - Creates detailed migration plan with risks
3. PRESERVE - Keeps ALL content exactly (inline CSS, text, routes)
4. CONVERT - Carefully converts CSS (Tailwind v3→v4)
5. REBUILD - Fresh Astro install with preserved content
6. ENHANCE - Adds new features (cookie consent, PDPA)
7. TEST - Comprehensive testing before deployment
Files:
- migrate_existing_website.py (new smart migration script)
- MIGRATION_WORKFLOW.md (documentation)
Benefits:
- No more broken CSS
- No more failed deployments
- All inline styles preserved
- All routes preserved
- Plan before migrating (--plan-only mode)
2026-03-12 09:19:26 +07:00
Kunthawat Greethong
7fe879ed61
fix: Website-creator Dockerfile uses npm install instead of ci
...
- Changed npm ci to npm install (more flexible for production)
- Port remains 80 (correct)
- Applies to both source and global install
2026-03-12 08:56:21 +07:00
Kunthawat Greethong
107ebad97c
feat: Major website-creator skill update
...
- Reverted to Dockerfile deployment (from nixpacks)
- Created Thai legal document templates (PDPA compliant)
- Privacy Policy template (Thai law)
- Terms of Service template (Thai Consumer Protection Act)
- Updated cookie consent to actually block/enable cookies
- Added template folder structure
- All templates research-based from major Thai company websites
Compliance:
- Thai PDPA (Personal Data Protection Act B.E. 2562)
- Thai Consumer Protection Act
- Thai Computer Crime Act
2026-03-10 19:28:28 +07:00
Kunthawat Greethong
9be686f587
Auto-sync from website-creator
2026-03-08 23:03:19 +07:00