Conversation
Added --role argument support to align install.sh with Quick Start guide in README.md. The installer now supports both automated and interactive modes. ## Changes ### New Command-Line Interface - `./install.sh --role edge` - Automated edge node installation - `./install.sh --role validator` - Automated cloud validator installation - `./install.sh --role cloud` - Alias for validator role - `./install.sh --help` - Show usage information - `./install.sh` - Interactive menu (original behavior preserved) ### Automated Installation Features - Non-interactive deployment for CI/CD pipelines - Clear post-installation instructions with Neuro protocol setup - Automatic service start commands displayed - Dashboard URL shown after edge installation - Validator configuration guidance after cloud installation ### Post-Installation Steps Displayed After edge installation: 1. Initialize Neuro Protocol: python3 -m neuro.tools.init_weights --node-id edge-001 2. Start services: systemctl start hookprobe-edge & hookprobe-neuro 3. Verify installation: systemctl status hookprobe-edge 4. Access dashboard: https://<IP>:8443 After validator installation: 1. Configure validator settings 2. Start validator services 3. Verify Neuro deterministic replay 4. Configure edge nodes to connect ## Alignment with Quick Start Guide Now matches README.md Quick Start examples: - sudo ./install.sh --role edge - sudo ./install.sh --role validator ## Backward Compatibility β Interactive menu mode preserved when no arguments provided β All existing menu options remain functional β No breaking changes to existing workflows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added --role argument support to align install.sh with Quick Start guide in README.md. The installer now supports both automated and interactive modes.
Changes
New Command-Line Interface
./install.sh --role edge- Automated edge node installation./install.sh --role validator- Automated cloud validator installation./install.sh --role cloud- Alias for validator role./install.sh --help- Show usage information./install.sh- Interactive menu (original behavior preserved)Automated Installation Features
Post-Installation Steps Displayed
After edge installation:
After validator installation:
Alignment with Quick Start Guide
Now matches README.md Quick Start examples:
Backward Compatibility
β Interactive menu mode preserved when no arguments provided β All existing menu options remain functional
β No breaking changes to existing workflows
Pull Request
π Description
Brief summary of changes:
Related Issue:
Fixes #
π― Type of Change
π§ Component(s) Affected
setup.sh,uninstall.sh,network-config.sh)π§ͺ Testing Done
How was this tested?
./setup.shin clean environment)./uninstall.shverifies complete cleanup)Test environment:
Test results:
# Paste relevant test outputβ Checklist
Before submitting this PR:
Security considerations:
πΈ Screenshots/Logs
Before:
After:
π Breaking Changes
Does this PR introduce breaking changes?
π Documentation Updates
Documentation changes made:
π¬ Additional Notes
π Reviewer Notes
Specific areas to review:
By submitting this PR, I confirm: