-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Source download sections for cli and geth (#69)
Created new docs components for downloading from source for different components. closes #68
- Loading branch information
1 parent
ea54e68
commit 5e2d9b7
Showing
8 changed files
with
73 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
This requires `Go` and `just` to be installed on your system. | ||
|
||
- Go: <https://go.dev/doc/install> | ||
- just: <https://github.com/casey/just> | ||
::: code-group | ||
|
||
```bash | ||
```bash [SSH] | ||
git clone [email protected]:astriaorg/astria-cli-go.git | ||
cd astria-cli-go | ||
just build-cli | ||
just build | ||
|
||
# run the cli in the repo directory | ||
just run version | ||
|
@@ -15,3 +13,23 @@ just run version | |
mv ./bin/astria-go /usr/local/bin/ | ||
astria-go version | ||
``` | ||
|
||
```bash [HTTPS] | ||
git clone https://github.com/astriaorg/astria-cli-go.git | ||
cd astria-cli-go | ||
just build | ||
|
||
# run the cli in the repo directory | ||
just run version | ||
|
||
# OR you can move the binary to a location in your PATH if you'd like | ||
mv ./bin/astria-go /usr/local/bin/ | ||
astria-go version | ||
``` | ||
|
||
::: | ||
|
||
<!-- <Tabs> | ||
<TabItem value="SSH" label="SSH"> </TabItem> | ||
<TabItem value="HTTPS" label="HTTPS" default> </TabItem> | ||
</Tabs> --> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
::: code-group | ||
|
||
```bash [SSH] | ||
git clone [email protected]:astriaorg/astria-geth.git | ||
cd astria-geth | ||
git checkout local-dev | ||
just build | ||
``` | ||
|
||
```bash [HTTPS] | ||
git clone https://github.com/astriaorg/astria-geth.git | ||
cd astria-geth | ||
git checkout local-dev | ||
just build | ||
``` | ||
|
||
::: | ||
|
||
<!-- <Tabs> | ||
<TabItem value="SSH" label="SSH"> </TabItem> | ||
<TabItem value="HTTPS" label="HTTPS" default> </TabItem> | ||
</Tabs> --> |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,13 @@ Astria stack locally on your machine. | |
|
||
Requires `Go`, `just`, and `Foundry`: | ||
|
||
- Go: <https://go.dev/doc/install> | ||
- just: <https://github.com/casey/just> | ||
- Foundry: <https://book.getfoundry.sh/getting-started/installation> | ||
- [Go](https://go.dev/doc/install) | ||
- [just](https://github.com/casey/just) | ||
- [Foundry](https://book.getfoundry.sh/getting-started/installation) | ||
|
||
Open a new terminal window and clone and build Geth. | ||
|
||
```bash | ||
git clone [email protected]:astriaorg/astria-geth.git | ||
cd astria-geth | ||
git checkout local-dev | ||
just build | ||
``` | ||
<!--@include: ../../components/_clone-geth.md--> | ||
|
||
### Configure the Geth Genesis Information | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,13 @@ Astria stack locally on your machine. | |
|
||
Requires `Go`, `just`, and `Foundry`: | ||
|
||
- Go: <https://go.dev/doc/install> | ||
- just: <https://github.com/casey/just> | ||
- Foundry: <https://book.getfoundry.sh/getting-started/installation> | ||
- [Go](https://go.dev/doc/install) | ||
- [just](https://github.com/casey/just) | ||
- [Foundry](https://book.getfoundry.sh/getting-started/installation) | ||
|
||
Open a new terminal window and clone and build Geth: | ||
|
||
```bash | ||
git clone [email protected]:astriaorg/astria-geth.git | ||
cd astria-geth | ||
git checkout local-dev | ||
just build | ||
``` | ||
<!--@include: ../../components/_clone-geth.md--> | ||
|
||
Create a new genesis account for your Geth rollup: | ||
|
||
|
This file contains 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