CIA/e-voting-system/clean.sh
E-Voting Developer 5bebad45b8 Initial commit: Complete e-voting system with cryptography
- FastAPI backend with JWT authentication
- ElGamal, RSA-PSS, ZK-proofs crypto modules
- HTML5/JS frontend SPA
- MariaDB database with 5 tables
- Docker Compose with 3 services (frontend, backend, mariadb)
- Comprehensive tests for cryptography
- Typst technical report (30+ pages)
- Makefile with development commands
2025-11-03 16:13:08 +01:00

25 lines
630 B
Bash
Executable File

#!/bin/bash
# Script de nettoyage
echo "🧹 Nettoyage du projet..."
# Arrêter Docker
echo "Arrêt des conteneurs Docker..."
docker-compose down 2>/dev/null || true
# Nettoyer Python
echo "Nettoyage des fichiers Python..."
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
# Nettoyer les caches
rm -rf .pytest_cache 2>/dev/null || true
rm -rf .coverage 2>/dev/null || true
rm -rf htmlcov/ 2>/dev/null || true
rm -rf dist/ 2>/dev/null || true
rm -rf build/ 2>/dev/null || true
rm -rf *.egg-info/ 2>/dev/null || true
echo "✅ Nettoyage terminé"