This commit introduces a more reliable and consistent approach to setting up the development environment using backups: - Add setup-from-backup.sh script for environment setup from existing backups - Standardize script naming and organization - Move obsolete scripts to bin/obsolete directory - Update documentation with new workflow instructions - Create migration guide for transitioning to new workflow - Update Memory Bank with workflow improvements The new workflow provides: - More reliable environment setup - Faster setup process - Offline development capability - Consistent development environments across team members Breaking changes: - setup-dev.sh is replaced by setup-from-backup.sh - sync-and-setup.sh is replaced by separate scripts - verify-with-wpcli.sh is no longer used Migration path is documented in MIGRATION_GUIDE.md
72 lines
No EOL
1.1 KiB
Text
72 lines
No EOL
1.1 KiB
Text
# Ignore OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Ignore development environment files
|
|
wordpress-dev/backups/
|
|
|
|
# Ignore environment files
|
|
.env
|
|
*.env.local
|
|
*.env.*.local
|
|
|
|
# Ignore IDE files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Ignore node modules
|
|
node_modules/
|
|
|
|
# Ignore log files
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Ignore build files
|
|
dist/
|
|
build/
|
|
*.min.js
|
|
*.min.css
|
|
|
|
# Ignore WordPress core files
|
|
wp-admin/
|
|
wp-includes/
|
|
wp-content/uploads/
|
|
wp-content/upgrade/
|
|
wp-content/backup-db/
|
|
wp-content/cache/
|
|
wp-content/advanced-cache.php
|
|
wp-content/wp-cache-config.php
|
|
wp-content/backups/
|
|
wp-content/backupwordpress-*/
|
|
wp-content/backup-db/
|
|
wp-content/blogs.dir/
|
|
wp-content/updraft/
|
|
wp-content/uploads/
|
|
wp-content/w3tc-config/
|
|
wp-content/object-cache.php
|
|
wp-content/debug.log
|
|
wp-content/db.php
|
|
wp-content/wp-config.php
|
|
wp-content/backupbuddy_backups/
|
|
wp-content/backupbuddy_temp/
|
|
wp-content/pb_backupbuddy/
|
|
wp-content/upgrade/
|
|
wp-content/ai1wm-backups/
|
|
|
|
# Ignore plugin development files
|
|
*.zip
|
|
*.tar
|
|
*.tar.gz
|
|
|
|
# Documentation and references
|
|
docs/scraped/
|
|
design_references/ |