You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(paths): Use /opt/qubinode_navigator as canonical installation path
Replace all hardcoded /root/qubinode_navigator paths with dynamic
QUBINODE_HOME environment variable support. This enables:
- Non-root user deployments (e.g., /home/lab-user/qubinode_navigator)
- Custom installation paths (e.g., /opt/qubinode_navigator)
- Automatic migration from $HOME/qubinode_navigator to /opt
Key changes:
- Add QUBINODE_HOME setup with migration logic to deploy-qubinode.sh
- Update all shell scripts with QUBINODE_HOME detection and fallbacks
- Update Python plugins to use os.environ.get('QUBINODE_HOME', '/opt/...')
- Update config files to use /opt/qubinode_navigator default
- Update docker-compose.yml to use ${QUBINODE_HOME:-/opt/...} for mounts
- Update all documentation to reference /opt/qubinode_navigator
Migration behavior:
1. If QUBINODE_HOME env var is set, use that path
2. If /opt/qubinode_navigator doesn't exist but $HOME/qubinode_navigator
does, automatically migrate (copy) to /opt
3. Fallback to script directory if running from git checkout
Fixes#190
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
0 commit comments