Skip to content
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: add install script #984

Merged
merged 8 commits into from
Nov 27, 2024
Merged

feat: add install script #984

merged 8 commits into from
Nov 27, 2024

Conversation

xilosada
Copy link
Member

@xilosada xilosada commented Nov 26, 2024

Created a script to simplify the installation of the calimero node for MacOS and linux. Added script in the scripts folder which installs meroctl latest binary from GH releases.

Added gh actions to test the lastest biaries work in the new branch (this needs extra discussion @fbozic ).

Developers can install calimero just running curl -s https://raw.githubusercontent.com/calimero-network/core/${{ env.BRANCH_NAME }}/scripts/install.sh | bash

Image 26-11-24 at 14 05

@xilosada xilosada force-pushed the xilosada/test-install-script branch 2 times, most recently from 3b6394d to 0e2416d Compare November 26, 2024 06:33
@xilosada xilosada force-pushed the xilosada/test-install-script branch from 0e2416d to 279d2dd Compare November 26, 2024 06:35
scripts/install.sh Show resolved Hide resolved
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
arch: [x86_64, aarch64]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, didn't know that arm instances have landed in the open-source GA. We probably might want to do the same for the build instead of emulating arm builds on amd.

Copy link
Member

@miraclx miraclx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally, we eventually incorporate https://github.com/axodotdev/cargo-dist like near-cli-rs

@chefsale
Copy link
Member

I think we should provide cargo-dist, but I don't think the use cases is same here. Probably as a user you dont want to install cargo potetially at all, but just access the binary like here. Ideally then distributed with different package manage for distros like brew, apt, etc.

@xilosada
Copy link
Member Author

Will check cargo dist

@xilosada xilosada merged commit 3d5a67a into master Nov 27, 2024
7 checks passed
@xilosada xilosada deleted the xilosada/test-install-script branch November 27, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants