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

Feature/config subcommand #914

Merged
merged 5 commits into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ Skywire can be statically built. For instructions check [the docs](docs/static-b
In order to expose the hypervisor UI, generate a config file with `--is-hypervisor` or `-i` flag:

```bash
$ skywire-cli visor gen-config -i
$ skywire-cli config gen -i
```

Docker container will create config automatically for you, should you want to run it manually, you can do:

```bash
$ docker run --rm -v <YOUR_CONFIG_DIR>:/opt/skywire \
skycoin/skywire:test skywire-cli gen-config -i
skycoin/skywire:test skywire-cli config gen -i
```

After starting up the visor, the UI will be exposed by default on `localhost:8000`.
Expand All @@ -55,14 +55,14 @@ Every visor can be controlled by one or more hypervisors. To allow a hypervisor
hypervisor needs to be specified in the configuration file. You can add a remote hypervisor to the config with:

```bash
$ skywire-cli visor update-config --hypervisor-pks <public-key>
$ skywire-cli config update --hypervisor-pks <public-key>
```

Or from docker image:

```bash
$ docker run --rm -v <YOUR_CONFIG_DIR>:/opt/skywire \
skycoin/skywire:test skywire-cli update-config hypervisor-pks <public-key>
skycoin/skywire:test skywire-cli config update hypervisor-pks <public-key>
```

## Run `skywire-visor`
Expand Down
Loading