https://github.com/kaonone/polkahub-cli
Polkahub CLI
https://github.com/kaonone/polkahub-cli
cli deploy infrastructure platform-as-a-service polkadot polkahub
Last synced: 3 months ago
JSON representation
Polkahub CLI
- Host: GitHub
- URL: https://github.com/kaonone/polkahub-cli
- Owner: kaonone
- License: apache-2.0
- Created: 2019-12-09T14:30:15.000Z (over 5 years ago)
- Default Branch: milestone3
- Last Pushed: 2020-02-28T13:25:40.000Z (over 5 years ago)
- Last Synced: 2025-02-28T08:45:13.408Z (4 months ago)
- Topics: cli, deploy, infrastructure, platform-as-a-service, polkadot, polkahub
- Language: Rust
- Size: 130 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# polkahub
[](https://github.com/akropolisio/polkahub-cli)

## !Status: Active WIP!
### polkahub cli for easier blockchain deployment.#### Prerequisites
MacOS/Linux: none.
Windows: docker utility installed### **Windows**
On Windows machine you better use it through pre-compiled docker image like this:
```bash
docker run --rm -ti -v $HOME/.polkahub:/tmp/home -e POLKAHUB_HOME=/tmp/home registry.polkahub.org/polkahub-cli:v3 [ARGS]
```### **MacOS / Linux**
#### Install
##### Option 1: install with script
```bash
bash <(curl http://get.polkahub.org/ -L)
```
This will install polkahub binary in your `/usr/local/bin`(MacOS) or `/usr/bin`(Linux) directory##### Option 2: if you are a Rust developer you probably already have cargo installed, so just add it to cargo index
```bash
cargo install polkahub
```#### Usage
Depending on how you installed it you go either just **`polkahub`** or **`cargo polkahub`** in the next step
and you can create repo for your chain.
To explore all the options run:```bash
(cargo) polkahub --help
```### Build from source
If you want to build your own binary from source, you are welcome to do so!```bash
git clone https://github.com/akropolisio/polkahub-cli.git \
&& cd polkahub-cli/ \
&& cargo build --release \
&& sudo cp target/release/polkahub /usr/bin/polkahub \
&& sudo chmod +x /usr/bin/polkahub```
License: Apache 2.0