From 5ec1481684109e1c1f08402f0bb3b518bac20487 Mon Sep 17 00:00:00 2001 From: pphan79 Date: Fri, 10 May 2024 20:50:31 +0700 Subject: [PATCH 1/2] Update readme.md --- readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.md b/readme.md index 330e083..39c3dbe 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,14 @@ Welcome to the new version of Junction, a cutting-edge blockchain platform desig ## Installation & Initialization +Build from source: +```bash +git clone https://github.com/airchains-network/junction.git +cd ~/junction/cmd +env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o ./build/junctiond main.go +# Find your binary in ~/junction/cmd/build/ +``` + ```bash wget https://github.com/airchains-network/junction/releases/download/v0.1.0/junctiond chmod +x junctiond From 03e34febe423a6cc920fcca374a3f8bbc2a49969 Mon Sep 17 00:00:00 2001 From: pphan79 Date: Fri, 10 May 2024 20:53:22 +0700 Subject: [PATCH 2/2] Update readme.md --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 39c3dbe..2eb1c60 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,10 @@ Build from source: ```bash git clone https://github.com/airchains-network/junction.git cd ~/junction/cmd -env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o ./build/junctiond main.go +env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o ./build/junctiond main.go # For x84-64 + +env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o ./build/junctiond main.go # For ARM64 + # Find your binary in ~/junction/cmd/build/ ```