-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: Node CLI wrapper and configuration tool #959
Conversation
…onfig parsing • Implemented wrapper with commands to start coordinator and nodes. • Added default node configuration file and logic to create node home directory if missing. • Introduced child process handling with temporary resolution for termination issues. • Defined node configuration struct with methods for reading and parsing config data. • Updated README.md with usage instructions.
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
"This pull request has been automatically closed because it has been inactive for more than 7 days. Please reopen and see this PR through its review if it is essential." |
Hey @kevinjaypatel , Thank you for your contribution! We appreciate efforts that enhance the developer experience and make our tools more user friendly. After reviewing your code, we believe it’s best to host it as a separate repository. This allows the core to remain focused on the fundamentals required for running nodes while keeping additional features modular. With our recent updates, we’ve replaced the need for a coordinator with CRDTs, enabling peers to synchronize state directly. As a result, some aspects of the existing implementation may no longer be necessary. We’d love to highlight Thanks again for your work! |
Hi Matej,
Ah, this is great! Thanks so much for the opportunity! I am glad to
contribute, Calimero is the first open-source project I feel a part of, and
really appreciate being able to make a difference on the network! Thank you
for sharing your plans with me, and the insight for the decisions made.
I am currently updating merow to account for the changes in the
"coordinator" dependency. I am looking for a way to actively sync updates
to the forked calimero repo where merow exists, so users who are interested
can still run the latest Calimero Network. I will be sure to inform you
when that is completed, I would love to have the opportunity to share
"merow" on the developer documentation!
Thanks so much, Matej!
Best regards,
Kevin
…On Wed, Nov 27, 2024 at 4:13 AM Matej Vukosav ***@***.***> wrote:
Hey @kevinjaypatel <https://github.com/kevinjaypatel> ,
Thank you for your contribution! We appreciate efforts that enhance the
developer experience and make our tools more user friendly.
After reviewing your code, we believe it’s best to host it as a separate
repository. This allows the core to remain focused on the fundamentals
required for running nodes while keeping additional features modular.
With our recent updates, we’ve replaced the need for a coordinator with
CRDTs, enabling peers to synchronize state directly. As a result, some
aspects of the existing implementation may no longer be necessary.
We’d love to highlight merow in our documentation as an alternative setup
option once it’s updated to align with these changes. Let us know if you’d
like any assistance or further guidance.
Thanks again for your work!
—
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIUQKFF3NBAVSWFP4QUO3T2CWZNVAVCNFSM6AAAAABROVRTMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTG4ZDAMJTGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Dear Matej,
I updated the "Merow" repository. Can you please provide any feedback you
may have? I would love for it to be featured as an alternative for
developers to use when setting up the Calimero Network.
You can the most recent version here: https://github.com/kevinjaypatel/core
Best regards,
Kevin
…On Mon, Dec 2, 2024 at 11:26 AM Kevin Patel ***@***.***> wrote:
Hi Matej,
Ah, this is great! Thanks so much for the opportunity! I am glad to
contribute, Calimero is the first open-source project I feel a part of, and
really appreciate being able to make a difference on the network! Thank you
for sharing your plans with me, and the insight for the decisions made.
I am currently updating merow to account for the changes in the
"coordinator" dependency. I am looking for a way to actively sync updates
to the forked calimero repo where merow exists, so users who are interested
can still run the latest Calimero Network. I will be sure to inform you
when that is completed, I would love to have the opportunity to share
"merow" on the developer documentation!
Thanks so much, Matej!
Best regards,
Kevin
On Wed, Nov 27, 2024 at 4:13 AM Matej Vukosav ***@***.***>
wrote:
> Hey @kevinjaypatel <https://github.com/kevinjaypatel> ,
>
> Thank you for your contribution! We appreciate efforts that enhance the
> developer experience and make our tools more user friendly.
>
> After reviewing your code, we believe it’s best to host it as a separate
> repository. This allows the core to remain focused on the fundamentals
> required for running nodes while keeping additional features modular.
>
> With our recent updates, we’ve replaced the need for a coordinator with
> CRDTs, enabling peers to synchronize state directly. As a result, some
> aspects of the existing implementation may no longer be necessary.
>
> We’d love to highlight merow in our documentation as an alternative
> setup option once it’s updated to align with these changes. Let us know if
> you’d like any assistance or further guidance.
>
> Thanks again for your work!
>
> —
> Reply to this email directly, view it on GitHub
> <#959 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKIUQKFF3NBAVSWFP4QUO3T2CWZNVAVCNFSM6AAAAABROVRTMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTG4ZDAMJTGI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Sure, I just checked the code and have a few comments.
|
Merow CLI
Node CLI Wrapper and configuration tool to quickly spin up a running node instance.
Summary
As featured for the
REDACTED
hackathon, the Merow CLI tool wraps the Node CLI and provides abstract commands for setting up a Calimero Node, which can be configured using a single file.Usage
Setup nodes using the default configuration file:
./crates/merow/config/default.toml
Starting up a Coordinator (same steps apply for the client Node)
E.g. Initializes Coordinator (with defaults)
Start a running coordinator
Accessing the Node via Admin Dashboard
Motivation
As the Calimero Network continues to evolve, Merow CLI strives to simplify the process for Calimero Developers to create a minimal develop environment by leveraging the Calimero Node CLI.