Data: 2 Novembre 2025 Repository: https://github.com/marypas74/InsightLearn_WASM Branch: main Versione: v1.4.29-dev
Rimossi tutti i segreti dai file di configurazione:
- ✅ Google OAuth Client ID →
YOUR_GOOGLE_CLIENT_ID_HERE - ✅ Google OAuth Client Secret →
YOUR_GOOGLE_CLIENT_SECRET_HERE - ✅ Database Password →
YOUR_DB_PASSWORD - ✅ JWT Secret Key →
YOUR_JWT_SECRET_KEY_HERE_MIN_32_CHARS - ✅ Admin Password →
YOUR_ADMIN_PASSWORD - ✅ Encryption Master Key →
YOUR_ENCRYPTION_MASTER_KEY_HERE_MIN_32_CHARS - ✅ Video Encryption Key →
YOUR_VIDEO_ENCRYPTION_KEY_HERE
- ✅ MSSQL_SA_PASSWORD →
YOUR_DB_PASSWORD - ✅ ConnectionStrings Password →
YOUR_DB_PASSWORD - ✅ Redis Password →
YOUR_REDIS_PASSWORD - ✅ JWT Secret Key →
YOUR_JWT_SECRET_KEY_HERE_MIN_32_CHARS - ✅ Google OAuth Client ID →
YOUR_GOOGLE_CLIENT_ID_HERE - ✅ Google OAuth Client Secret →
YOUR_GOOGLE_CLIENT_SECRET_HERE
Problema Iniziale: GitHub Secret Scanning bloccava il push (commit c5e79cc)
Soluzione Applicata:
- Creato branch pulito
main-cleandaorigin/main - Copiati tutti i file con segreti già rimossi
- Creato singolo commit comprensivo e pulito
- Push forzato su GitHub per sovrascrivere la storia
- Allineato branch locale
maincon quello pulito
Storia Git Finale:
* dc8582b feat: Complete InsightLearn Blazor WebAssembly Frontend
* 1984f30 Initial commit
git push origin main-clean:main --force
# To https://github.com/marypas74/InsightLearn_WASM.git
# 1984f30..dc8582b main-clean -> main✅ Nessun blocco da GitHub Secret Scanning ✅ Storia Git completamente pulita ✅ Tutti i file sincronizzati
- File:
/home/mpasqui/insightlearn-wasm-clean.bundle - Dimensione: 2.0 MB
- Contenuto: Repository Git completo senza segreti
- File:
/home/mpasqui/insightlearn-wasm-clean-v1.4.29.tar.gz - Dimensione: 8.1 MB
- Contenuto: Tutti i file sorgente (escluso .git)
InsightLearn_WASM/
├── src/ # Codice sorgente .NET 8
│ ├── InsightLearn.WebAssembly/ # Frontend Blazor WASM
│ ├── InsightLearn.Core/ # Domain models
│ ├── InsightLearn.Infrastructure/
│ └── InsightLearn.Application/
├── k8s/ # Kubernetes manifests (22 files)
├── monitoring/ # Grafana dashboards (3 files)
├── jenkins/ # CI/CD automation
├── tests/ # Test suite (45 files)
├── config/ # Configuration templates
├── docs/ # Documentazione completa
├── Dockerfile.wasm # Docker build
├── docker-compose.yml # Local development
├── InsightLearn.WASM.sln # Visual Studio solution
├── README.md # Project documentation
├── CLAUDE.md # Claude Code guidance
├── MIGRATION-GUIDE.md # Migration instructions
└── UPLOAD-TO-GITHUB.md # GitHub upload guide
- Commit: 2 (puliti, senza segreti)
- File: 352
- Linee di codice: ~90,000
- Linguaggio principale: C# (.NET 8)
- Framework: Blazor WebAssembly
Per utilizzare questa repository, configurare i seguenti segreti:
YOUR_DB_PASSWORD="YourSecurePassword123!"YOUR_JWT_SECRET_KEY_HERE_MIN_32_CHARS="YourJwtSigningKeyMinimum32Characters!"YOUR_GOOGLE_CLIENT_ID_HERE="your-client-id.apps.googleusercontent.com"
YOUR_GOOGLE_CLIENT_SECRET_HERE="GOCSPX-YourClientSecret"YOUR_REDIS_PASSWORD="YourRedisPassword123!"YOUR_ADMIN_PASSWORD="YourAdminPassword123!"YOUR_ENCRYPTION_MASTER_KEY_HERE_MIN_32_CHARS="YourEncryptionMasterKey32Chars!"
YOUR_VIDEO_ENCRYPTION_KEY_HERE="YourVideoEncryptionKey123!"git clone https://github.com/marypas74/InsightLearn_WASM.git
cd InsightLearn_WASM# Metodo 1: Environment variables
export ConnectionStrings__DefaultConnection="Server=localhost;Database=InsightLearnDb;User=sa;Password=YOUR_PASSWORD"
export JwtSettings__SecretKey="YOUR_JWT_SECRET"
# Metodo 2: appsettings.Development.json (non committare!)
cp config/appsettings.json src/InsightLearn.WebAssembly/wwwroot/appsettings.Development.json
# Modificare con valori reali# Docker build
docker build -f Dockerfile.wasm -t insightlearn/wasm:latest .
# Kubernetes deploy
./k8s/build-images.sh
./k8s/deploy.shPer verificare che il repository sia stato caricato correttamente:
- Web: https://github.com/marypas74/InsightLearn_WASM
- Clone locale:
git clone https://github.com/marypas74/InsightLearn_WASM.git /tmp/verify cd /tmp/verify ls -la - Controllo segreti:
grep -r "InsightLearn123@#" . # Deve restituire nessun risultato grep -r "GOCSPX-" . # Deve restituire nessun risultato
- Autore: marypas74
- Email: marcello.pasqui@gmail.com
- GitHub: https://github.com/marypas74
- Repository: https://github.com/marypas74/InsightLearn_WASM
Per informazioni sul deployment sicuro, consultare: