fix: update config paths
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a862a73d7c
commit
f7d0503c7b
11
README.md
11
README.md
@ -10,13 +10,14 @@ pip install cic-cli[eth]
|
|||||||
```
|
```
|
||||||
## Usage
|
## Usage
|
||||||
### Using the wizard
|
### Using the wizard
|
||||||
|
First make sure that you edit the configs below to add your paths for `[auth]keyfile_path` and `[wallet]keyfile`
|
||||||
|
The configs are located in `~/.config/cic/cli/config/`
|
||||||
```
|
```
|
||||||
# Local
|
# Local
|
||||||
cic wizard ./somewhere -c ./config/docker
|
cic wizard ./somewhere -c ~/.config/cic/cli/config/docker
|
||||||
|
|
||||||
# Test Net
|
# Test Net
|
||||||
cic wizard ./somewhere -c ./config/testnet
|
cic wizard ./somewhere -c ~/.config/cic/cli/config/testnet
|
||||||
|
|
||||||
```
|
```
|
||||||
### Modular
|
### Modular
|
||||||
Some of the concepts described below assume familiarity with base
|
Some of the concepts described below assume familiarity with base
|
||||||
@ -89,10 +90,10 @@ sudo apt-get install -y kubectl
|
|||||||
- Port foward the meta pod to the local machine using `kubectl port-forward pods/<name_of_meta_pod> 6700:8000 -n grassroots --kubeconfig=$HOME/.kube/<config_file_name>.yaml`
|
- Port foward the meta pod to the local machine using `kubectl port-forward pods/<name_of_meta_pod> 6700:8000 -n grassroots --kubeconfig=$HOME/.kube/<config_file_name>.yaml`
|
||||||
- Clone this repository to your local machine
|
- Clone this repository to your local machine
|
||||||
- Run `poetry install -E eth` in the repo root
|
- Run `poetry install -E eth` in the repo root
|
||||||
- Open `./config/testnet/config.ini` and change
|
- Open `./cic/config/testnet/config.ini` and change
|
||||||
- [auth]keyfile_path
|
- [auth]keyfile_path
|
||||||
- [wallet]key_file
|
- [wallet]key_file
|
||||||
- Open a new terminal and run `poetry run cic wizard -c ./config/testnet ./somewhere`
|
- Open a new terminal and run `poetry run cic wizard -c ./cic/config/testnet ./somewhere`
|
||||||
### Tests
|
### Tests
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
default_module_configs = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'config')
|
default_module_configs = os.path.join(os.path.dirname(os.path.realpath(__file__)), '.', 'configs')
|
||||||
|
|
||||||
def ensure_base_configs(config_dir: str):
|
def ensure_base_configs(config_dir: str):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user