From 0d5e181c82ea160fb70851f6114673218ca4113a Mon Sep 17 00:00:00 2001 From: 4NK Dev Date: Wed, 1 Oct 2025 20:57:44 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20docker=5Ftag=3Ddev-test=20-=20Mise=20?= =?UTF-8?q?=C3=A0=20jour=20documentation=20et=20standardisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/.cursorignore | 90 +++++++++++++++++++++++++++++++++----- .cursorignore | 95 ++++++++++++++++++++++++++++++++--------- .gitignore | 11 ++--- docs/GITEA_SETUP.md | 4 +- docs/QUICK_REFERENCE.md | 4 +- docs/SECURITY_AUDIT.md | 6 +-- 6 files changed, 161 insertions(+), 49 deletions(-) diff --git a/.cursor/.cursorignore b/.cursor/.cursorignore index 6d5821d..d07058b 100644 --- a/.cursor/.cursorignore +++ b/.cursor/.cursorignore @@ -1,11 +1,79 @@ -# Ignorer les sorties volumineuses ou non pertinentes pour le contexte IA -archive/** -tests/logs/** -tests/reports/** -node_modules/** -dist/** -build/** -.tmp/** -.cache/**# -.env -.env.* \ No newline at end of file +# 4NK Environment - Git Ignore +# ============================ +confs/ +# Dossiers de sauvegarde des scripts +**/backup/ +**/*backup* + +**/.cargo/ + +# Fichiers temporaires +**/*.tmp* +**/*.temp* +**/*.log* +**/*.pid* + +# Fichiers de configuration locale +**/*.env* +**/*.conf* +**/*.yaml* +**/*.yml* +**/*.ini* +**/*.json* +**/*.toml* +**/*.lock* + +# Données et logs +**/*.logs* +**/*.data +*.db +*.sqlite + +# Certificats et clés +**/*.key +**/*.pem +**/*.crt +**/*.p12 +**/*.pfx +ssl/ +certs/ + +# Docker +**/*.docker* + +# Cache et build +**/*.node_modules/ +**/*.dist/ +**/*build/ +**/*target/ +**/*.*.o +**/*.so +**/*.dylib + +# IDE et éditeurs +**/*.vscode/ +**/*.idea/ +**/*.swp +**/*.swo +**/*~ + +# OS +**/*.DS_Store +**/*Thumbs.db +**/*tmp* + +# Git +**/*.git/ +**/*.orig* + +# Backup des projets existants +**/*backup* + + +**/*wallet* +**/*keys* + +**/*node_modules* +**/*cursor* +**/*pid* +**/*next* \ No newline at end of file diff --git a/.cursorignore b/.cursorignore index 0a387e1..d07058b 100644 --- a/.cursorignore +++ b/.cursorignore @@ -1,26 +1,79 @@ -# Ignorer les contenus volumineux pour le contexte IA -node_modules/ -dist/ -build/ -coverage/ -.cache/ -.tmp/ -.parcel-cache/ +# 4NK Environment - Git Ignore +# ============================ +confs/ +# Dossiers de sauvegarde des scripts +**/backup/ +**/*backup* -# Rapports et logs de tests -tests/logs/ -tests/reports/ +**/.cargo/ -# Fichiers lourds -**/*.map -**/*.min.* -**/*.wasm -**/*.{png,jpg,jpeg,svg,ico,pdf} +# Fichiers temporaires +**/*.tmp* +**/*.temp* +**/*.log* +**/*.pid* -# Ne pas ignorer .cursor ni AGENTS.md -!/.cursor -!/AGENTS.md +# Fichiers de configuration locale +**/*.env* +**/*.conf* +**/*.yaml* +**/*.yml* +**/*.ini* +**/*.json* +**/*.toml* +**/*.lock* -!.cursor/ +# Données et logs +**/*.logs* +**/*.data +*.db +*.sqlite -!AGENTS.md +# Certificats et clés +**/*.key +**/*.pem +**/*.crt +**/*.p12 +**/*.pfx +ssl/ +certs/ + +# Docker +**/*.docker* + +# Cache et build +**/*.node_modules/ +**/*.dist/ +**/*build/ +**/*target/ +**/*.*.o +**/*.so +**/*.dylib + +# IDE et éditeurs +**/*.vscode/ +**/*.idea/ +**/*.swp +**/*.swo +**/*~ + +# OS +**/*.DS_Store +**/*Thumbs.db +**/*tmp* + +# Git +**/*.git/ +**/*.orig* + +# Backup des projets existants +**/*backup* + + +**/*wallet* +**/*keys* + +**/*node_modules* +**/*cursor* +**/*pid* +**/*next* \ No newline at end of file diff --git a/.gitignore b/.gitignore index ed6a795..d07058b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,12 @@ # 4NK Environment - Git Ignore # ============================ - +confs/ # Dossiers de sauvegarde des scripts **/backup/ **/*backup* **/.cargo/ - - # Fichiers temporaires **/*.tmp* **/*.temp* @@ -75,8 +73,7 @@ certs/ **/*wallet* **/*keys* -# Supervisor -supervisor-logs/ - **/*node_modules* -**/*cursor* \ No newline at end of file +**/*cursor* +**/*pid* +**/*next* \ No newline at end of file diff --git a/docs/GITEA_SETUP.md b/docs/GITEA_SETUP.md index 495220c..3a59411 100644 --- a/docs/GITEA_SETUP.md +++ b/docs/GITEA_SETUP.md @@ -253,7 +253,7 @@ WHITELIST_USERS = admin,maintainer # webhook.yml url: "https://your-ci-server.com/webhook" content_type: "application/json" -secret: "your-secret" +secret: "" events: - push - pull_request @@ -277,5 +277,3 @@ events: --- **Configuration Gitea terminée ! Le projet est prêt pour l'open source sur git.4nkweb.com** 🚀 - - diff --git a/docs/QUICK_REFERENCE.md b/docs/QUICK_REFERENCE.md index 21cbd75..d872b29 100644 --- a/docs/QUICK_REFERENCE.md +++ b/docs/QUICK_REFERENCE.md @@ -139,7 +139,7 @@ docker stats --no-stream | grep sdk_relay ### Bitcoin Core RPC ```bash # Connexion via curl -curl -u bitcoin:your_password --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://localhost:18443/ +curl -u bitcoin: --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://localhost:18443/ # Connexion via bitcoin-cli docker exec bitcoin-signet bitcoin-cli -signet getblockchaininfo @@ -490,5 +490,3 @@ docker system prune -f ``` --- - - diff --git a/docs/SECURITY_AUDIT.md b/docs/SECURITY_AUDIT.md index a3a3c32..8ca02a2 100644 --- a/docs/SECURITY_AUDIT.md +++ b/docs/SECURITY_AUDIT.md @@ -120,8 +120,8 @@ find . -name "*.cookie" -exec chmod 600 {} \; #### 2. **Variables d'Environnement** ```bash # Utiliser des variables d'environnement pour les secrets -export BITCOIN_RPC_PASSWORD="your_secure_password" -export BLINDBIT_API_KEY="your_api_key" +export BITCOIN_RPC_PASSWORD="" +export BLINDBIT_API_KEY="" ``` #### 3. **Monitoring de Sécurité** @@ -196,5 +196,3 @@ export BLINDBIT_API_KEY="your_api_key" --- **Le projet sdk_client présente un bon niveau de sécurité pour l'open source. Les recommandations ci-dessus permettront de renforcer encore la sécurité.** 🔒 - -