-
Notifications
You must be signed in to change notification settings - Fork 13
docs: add dependency install instructions #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,10 +13,12 @@ The tool supports both Mainnet and Testnet networks. Check out the [documentatio | |||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - [Prerequisites](#prerequisites) | ||||||||||||||||||||||||||||||||
| - [Rust Installation](#rust-installation) | ||||||||||||||||||||||||||||||||
| - [Dependencies](#dependencies) | ||||||||||||||||||||||||||||||||
| - [Dash Core Wallet Setup](#dash-core-wallet-setup) | ||||||||||||||||||||||||||||||||
| - [Installation](#installation) | ||||||||||||||||||||||||||||||||
| - [Getting Started](#getting-started) | ||||||||||||||||||||||||||||||||
| - [Start the App](#start-the-app) | ||||||||||||||||||||||||||||||||
| - [Application directory](#application-directory) | ||||||||||||||||||||||||||||||||
| - [Connect to a Network](#connect-to-a-network) | ||||||||||||||||||||||||||||||||
| - [Usage](#usage) | ||||||||||||||||||||||||||||||||
| - [Register a DPNS Username](#register-a-dpns-username) | ||||||||||||||||||||||||||||||||
|
|
@@ -46,6 +48,25 @@ Before you begin, ensure you have met the following requirements: | |||||||||||||||||||||||||||||||
| rustup update | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ### Dependencies | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - Install build-essential tools, SSL development libraries, and other required dependencies. On | ||||||||||||||||||||||||||||||||
| Ubuntu, use: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ``` shell | ||||||||||||||||||||||||||||||||
| sudo apt install -y build-essential libssl-dev pkg-config unzip | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| On other Unix-like systems, use the equivalent package management commands. | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
|
Comment on lines
+51
to
+61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Document tenderdash-proto dependency requirements Given that issue #45 specifically mentioned build failures with tenderdash-proto, we should explicitly document any specific requirements for this dependency. Consider adding: On other Unix-like systems, use the equivalent package management commands.
+### Additional Dependencies
+
+Some components have specific requirements:
+
+- **tenderdash-proto**: Requires Protocol Buffers Compiler (protoc) and build tools
+ - Verify installation with: `protoc --version`
+ - If you encounter build errors, ensure all dependencies are properly installed📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||
| - Install Protocol Buffers Compiler (protoc). Download the appropriate protoc binary for your | ||||||||||||||||||||||||||||||||
| system, unzip, and install: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ``` shell | ||||||||||||||||||||||||||||||||
| wget https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip | ||||||||||||||||||||||||||||||||
| sudo unzip protoc-*-linux-x86_64.zip -d /usr/local | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
Comment on lines
+62
to
+68
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add architecture-independent protoc installation instructions The current protoc installation instructions have several limitations:
Consider updating to: - wget https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip
- sudo unzip protoc-*-linux-x86_64.zip -d /usr/local
+ # For Ubuntu/Debian:
+ sudo apt install -y protobuf-compiler
+ # Verify installation:
+ protoc --version # Should be 3.x or higherIf a specific version is required, please document the minimum version requirement.
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ### Dash Core Wallet Setup | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - **Dash Core Wallet**: Download and install from [dash.org/wallets](https://www.dash.org/wallets/). | ||||||||||||||||||||||||||||||||
|
|
@@ -185,19 +206,19 @@ Contributions are welcome! | |||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - **Create a Branch**: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| ``` shell | ||||||||||||||||||||||||||||||||
| git checkout -b feature/YourFeatureName | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - **Commit Changes**: Make your changes and commit them with descriptive messages. | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| ``` shell | ||||||||||||||||||||||||||||||||
| git commit -m "Add feature: YourFeatureName" | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - **Push to Branch**: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| ``` shell | ||||||||||||||||||||||||||||||||
| git push origin feature/YourFeatureName | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Instructions need platform-specific dependency commands
The README currently only provides Ubuntu-specific instructions for installing dependencies, with a vague reference to "equivalent package management commands" for other Unix-like systems. However, the codebase shows the tool supports multiple platforms (Windows, macOS, Linux). Specific instructions should be added for:
The following sections need platform-specific commands:
🔗 Analysis chain
Verify instructions on other platforms
While the instructions have been verified on Ubuntu 24.04, we should ensure they work on other common platforms.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 372
Script:
Length of output: 3071