Skip to content

Commit

Permalink
update docs to match latest version of starship (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 22, 2024
1 parent 5e2e84a commit f9fac40
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
10 changes: 5 additions & 5 deletions docs/pages/cli/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ starship install
### Run starship

```sh
starship setup --config ./config/settings.json
starship deploy --config ./config/settings.json
starship start-ports --config ./config/settings.json
starship setup --config ./config/config.yaml
starship deploy --config ./config/config.yaml
starship start-ports --config ./config/config.yaml
```

### Teardown starship

```sh
starship undeploy --config ./config/settings.json
starship teardown --config ./config/settings.json
starship undeploy --config ./config/config.yaml
starship teardown --config ./config/config.yaml
```


3 changes: 3 additions & 0 deletions docs/pages/config/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Here is a basic example that will spin up:
* Registry service: Analogous to cosmos/chain-registry, following the same schemas

```yaml
name: starship
version: v0.2.6

chains:
- id: osmosis-1
name: osmosis
Expand Down
14 changes: 4 additions & 10 deletions docs/pages/get-started/step-3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@ In this step, we will spin up couple of cosmos chains and relayers between them.

By the end of this tutorial you should be able to have osmosis and gaia chain running on your machine.

## 3.1) Setup Starship Helm charts
We use helm as the package manager for starship.

Run
```bash
starship setup
```

## 3.2) Define the desired infrastructure
## 3.1) Define the desired infrastructure
We will now define the infrastructure for our starship, specify the chains and relayers run
between them.

Expand All @@ -32,6 +24,8 @@ touch config.yaml

Add following content to `starship.yaml` with the following content
```yaml
name: starship-getting-started

chains:
- id: osmosis-1
name: osmosis
Expand Down Expand Up @@ -69,7 +63,7 @@ For the tutorial we will keep it simple.
## 3.3) Spin up the infrastructure
Spin up the infrastructure with
```bash
starship start --helmFile config.yaml
starship start --config config.yaml
```

This command will:
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/get-started/step-4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Once you are done with playing around, cleanup the resources with

```bash
# delete helm chart
starship stop
starship stop --config config.yaml

# cleanup port forwarding
pkill -f "port-forward"
Expand Down

0 comments on commit f9fac40

Please sign in to comment.