cleanup and ui change

This commit is contained in:
2025-11-16 20:59:14 +01:00
parent f0e552b1b1
commit 9f167a6534
15 changed files with 165 additions and 155 deletions

34
cleanup.sh Executable file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
# Cleanup unnecessary files from the project
echo "🧹 Cleaning up unnecessary files..."
# Remove Python cache files
echo "Removing Python cache files..."
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null
find . -type f -name "*.pyc" -delete 2>/dev/null
find . -type f -name "*.pyo" -delete 2>/dev/null
# Remove local virtual environments (should use Docker)
echo "Removing local virtual environments..."
rm -rf backend/env 2>/dev/null
rm -rf news_crawler/env 2>/dev/null
rm -rf news_sender/env 2>/dev/null
rm -rf transport_crawler/env 2>/dev/null
# Remove local database files (should use MongoDB in Docker)
echo "Removing local database files..."
rm -f backend/munich_news.db 2>/dev/null
rm -f backend/*.db 2>/dev/null
# Remove macOS files
echo "Removing macOS files..."
find . -name ".DS_Store" -delete 2>/dev/null
# Remove editor files
echo "Removing editor backup files..."
find . -name "*~" -delete 2>/dev/null
find . -name "*.swp" -delete 2>/dev/null
find . -name "*.swo" -delete 2>/dev/null
echo "✅ Cleanup complete!"