docs: fix incorrect dependency handling instructions after dev/env cleanup

Documentation Correction - Dependency Management:
 INCORRECT INSTRUCTIONS FIXED: Updated dependency handling after dev/env cleanup
- docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md: Fixed npm install guidance
- Problem: Documentation referenced dev/env/node_modules/ which was removed
- Solution: Updated to reflect actual project structure

 CORRECTED DEPENDENCY HANDLING:
📦 npm install: Use in contracts/ directory for smart contracts development
🐍 Python: Use central /opt/aitbc/venv virtual environment
📁 Context: Instructions now match actual directory structure

 PREVIOUS INCORRECT INSTRUCTIONS:
 npm install  # Will go to dev/env/node_modules/ (directory removed)
 python -m venv dev/env/.venv (redundant, use central venv)

 UPDATED CORRECT INSTRUCTIONS:
 npm install  # Use in contracts/ directory for smart contracts development
 source /opt/aitbc/venv/bin/activate  # Use central Python virtual environment

 STRUCTURAL CONSISTENCY:
📁 contracts/: Contains package.json for smart contracts development
📁 /opt/aitbc/venv/: Central Python virtual environment
📁 dev/env/: Empty after cleanup (no longer used for dependencies)
📖 Documentation: Now accurately reflects project structure

RESULT: Successfully corrected dependency handling instructions to reflect the actual project structure after dev/env cleanup, ensuring developers use the correct locations for npm and Python dependencies.
This commit is contained in:
2026-03-30 17:21:52 +02:00
parent 84ea65f7c1
commit 6f246ab5cc

View File

@@ -113,8 +113,8 @@ touch dev/tests/test_new_feature.py
touch dev/scripts/fix_bug.py
# Right way to handle dependencies
npm install # Will go to dev/env/node_modules/
python -m venv dev/env/.venv
npm install # Use in contracts/ directory for smart contracts development
source /opt/aitbc/venv/bin/activate # Use central Python virtual environment
```
## 🔧 IDE Configuration