2.5 KiB
2.5 KiB
🧹 Codebase Cleanup Plan
MD Files Analysis
✅ KEEP (Essential Documentation)
- README.md - Main project documentation
- docs/ai-image-generation/README.md - AI feature docs
- docs/ai-image-generation/SETUP.md - Setup guide
- docs/ai-image-generation/QUICKSTART.md - Quick start
- docs/ai-image-generation/WEBHOOK_SETUP.md - Webhook setup (just created)
- TESTING_GUIDE.md - Testing documentation
- SAFE_PUSH_TO_MAIN.md - Deployment guide
- AUTO_DEPLOYMENT_STATUS.md - Deployment status (just created)
❌ REMOVE (Old/Duplicate/Outdated)
- CHANGELOG_DEV.md - Old changelog, can be in git history
- PUSH_READY.md - One-time status file
- COMMIT_MESSAGE.txt - One-time commit message
- DEPLOYMENT-FIXES.md - Old fixes, should be in git
- DEPLOYMENT-IMPROVEMENTS.md - Old improvements
- DEPLOYMENT.md - Duplicate of PRODUCTION-DEPLOYMENT.md
- AFTER_PUSH_SETUP.md - One-time setup guide
- PRE_PUSH_CHECKLIST.md - Can merge into SAFE_PUSH_TO_MAIN.md
- TEST_FIXES.md - One-time fix notes
- AUTOMATED_TESTING_SETUP.md - Info now in TESTING_GUIDE.md
- SECURITY-UPDATE.md - Old update notes
- SECURITY-CHECKLIST.md - Can merge into SECURITY.md
- ANALYTICS.md - If not actively used
- PRODUCTION-DEPLOYMENT.md - If DEPLOYMENT.md covers it
📁 CONSOLIDATE (Merge into main docs)
- docs/IMPROVEMENTS_SUMMARY.md → Merge into README or remove
- docs/CODING_DETECTION_DEBUG.md → Remove if not needed
- docs/DYNAMIC_ACTIVITY_MANAGEMENT.md → Keep if actively used
- docs/ACTIVITY_FEATURES.md → Keep if actively used
- docs/N8N_CHAT_SETUP.md → Keep if using n8n chat
- docs/N8N_INTEGRATION.md → Keep if using n8n
Old/Unused Files to Remove
Scripts (Many duplicates)
scripts/test-fix.sh- One-time fixscripts/test-deployment.sh- One-time testscripts/quick-health-fix.sh- One-time fixscripts/fix-connection.sh- One-time fixscripts/debug-gitea-actions.sh- Debug script, not needed- Multiple docker-compose files (keep only needed ones)
Disabled Workflows
.gitea/workflows/*.disabled- Remove all disabled workflows
Old Test Results
test-results/- Can be regeneratedplaywright-report/- Can be regenerated
Logs
logs/*.log- Should be in .gitignore
Git Remote Issue
Current: https://git.dk0.dev/denshooter/portfolio
Issue: Can't connect to git.dk0.dev:443
Options:
- Check if server is up
- Use SSH instead:
git@git.dk0.dev:denshooter/portfolio.git - Check if URL changed