canine-docs/docs/nodes/providers/2_setting_up.md

48 lines
760 B
Markdown
Raw Normal View History

2022-10-27 13:35:06 +00:00
---
sidebar_position: 2
---
2022-12-08 04:31:53 +00:00
# Setting Up JProvd
2022-10-27 13:35:06 +00:00
2022-12-08 04:31:53 +00:00
## Pre-Requisites
See [Set-up](../1_install.md).
2022-10-27 13:35:06 +00:00
2022-12-08 04:31:53 +00:00
## Installing
2022-10-27 13:35:06 +00:00
2022-12-08 04:31:53 +00:00
:::tip
2022-10-27 13:35:06 +00:00
2022-12-08 04:31:53 +00:00
Check latest version [here](https://github.com/JackalLabs/canine-provider/releases).
2022-10-27 13:35:06 +00:00
:::
2022-12-08 04:31:53 +00:00
```sh
git clone https://github.com/JackalLabs/canine-provider.git
git pull
git checkout {version}
make install
```
## Initializing
:::tip
Your keybase identity can be left as `""` if you don't want to link your provider to keybase.
:::
2022-10-29 00:22:23 +00:00
2022-12-02 16:11:35 +00:00
```sh
export PHOME={path-to-pool-from-before}
2022-10-29 00:22:23 +00:00
2022-12-02 16:11:35 +00:00
jprovd client gen-key --home=$PHOME
2022-10-27 13:35:06 +00:00
2022-12-08 04:31:53 +00:00
jprovd client config chain-id {chain-id} --home=$PHOME
jprovd client config node {your node} --home=$PHOME
2022-10-27 13:35:06 +00:00
2022-12-02 16:11:35 +00:00
jprovd init {IP_ADDRESS} {STORAGE_IN_BYTES} {KEYBASE_IDENTITY} --home=$PHOME
2022-10-27 13:35:06 +00:00
2022-12-02 16:11:35 +00:00
jprovd start --home=$PHOME
```
2022-10-27 13:35:06 +00:00