CLI for managing dpos delegates
Project description
# dpos-deputy
Howdy delegate! You have just been deputized!
### Installation
Install python 3.6
```commandline
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6-dev
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo pip3.6 install virtualenv
```
If you get an error related to hidapi or gcc, try this:
```commandline
sudo apt-get install gcc
sudo apt install libudev-dev libusb-1.0-0-dev
```
Create a virtual environment (replace myvirtualenv with whatever seems appriopriate, for example deputy)
```commandline
virtualenv myvirtualenv -p python3.6
```
Activate the virtualenv.
```commandline
source myvirtualenv/bin/activate
```
```commandline
pip install dpos-deputy
```
Deputy requires running ark-node instances/other network nodes like Kapu or Persona to function.
### Initial setup
Start out by enabling autocompletion for an easier time.
```commandline
deputy enable_autocomplete
```
### Help
Use flags to figure out what the commands do.
```bash
deputy --help
```
### Starting out
Start out by setting your configurations for further use.
```commandline
deputy set_config --help
```
### Example command
Setting up your configuration:
```commandline
deputy -p mypassword set_config
```
This will lead you through a series of prompts to store persistent configurations. If you don't use a
password, deputy will default to default_password for encryption purposes.
Howdy delegate! You have just been deputized!
### Installation
Install python 3.6
```commandline
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6-dev
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo pip3.6 install virtualenv
```
If you get an error related to hidapi or gcc, try this:
```commandline
sudo apt-get install gcc
sudo apt install libudev-dev libusb-1.0-0-dev
```
Create a virtual environment (replace myvirtualenv with whatever seems appriopriate, for example deputy)
```commandline
virtualenv myvirtualenv -p python3.6
```
Activate the virtualenv.
```commandline
source myvirtualenv/bin/activate
```
```commandline
pip install dpos-deputy
```
Deputy requires running ark-node instances/other network nodes like Kapu or Persona to function.
### Initial setup
Start out by enabling autocompletion for an easier time.
```commandline
deputy enable_autocomplete
```
### Help
Use flags to figure out what the commands do.
```bash
deputy --help
```
### Starting out
Start out by setting your configurations for further use.
```commandline
deputy set_config --help
```
### Example command
Setting up your configuration:
```commandline
deputy -p mypassword set_config
```
This will lead you through a series of prompts to store persistent configurations. If you don't use a
password, deputy will default to default_password for encryption purposes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dpos-deputy-0.0.21.tar.gz
(10.1 kB
view details)
File details
Details for the file dpos-deputy-0.0.21.tar.gz
.
File metadata
- Download URL: dpos-deputy-0.0.21.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2e1b04d54b0dc663369a960b6d5c00e1d46c7f57513d83ea9aad0a4f7ddf8c2b
|
|
MD5 |
58be3f0d27a567b02623e30bee64e287
|
|
BLAKE2b-256 |
7e742eaafa5ecb3944735b2466ef145b9bd66072e7b095eb2a9cabd54237d568
|