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

improve user experience #64

Merged
merged 7 commits into from Nov 30, 2018
Merged

improve user experience #64

merged 7 commits into from Nov 30, 2018

Conversation

ahlumin
Copy link
Contributor

@ahlumin ahlumin commented Nov 29, 2018

to resolve #58, #59

improve kaizen ipfs upload

command

$ kaizen ipfs upload <file|directory path>

usage

User can specify the path and upload to IPFS.
Should use 'kaizen set-ipfs' to setting IPFS configuration first


setting configuration

command

$ kaizen set-ipfs --host <host> --port <port> --protocol <protocol>

  • host - required, e.g. ipfs.infura.io
  • port - required, e.g. 5001
  • protocol - required, e.g. https

usage

Setting IPFS configuration for IPFS API usage


command

$ kaizen set-ethereum --network <network id> --port <port> --provider <provider>

  • network - required, e.g. 3 which mean Ropsten testnet
  • port - required, e.g. 8545
  • provider - required, e.g. https://ropsten.infura.io/you-infura-key

usage

Setting Ethereum configuration


command

$ kaizen set-nkn --identifier <identifier> --private-key <private key> --rpc-server <seed RPC server address>

  • identifier - required,
  • private-key - required,
  • rpc-server - required,

usage

Setting NKN configuration


create boilerplate via KAIZEN add

command

kaizen add boilerplate --name <project name> --library <react|vue>

  • name - optional, specify project name. If ignore, default is new-boilerplate
  • library - optional, specify which library want to add.

@PhyrexTsai
Copy link
Contributor

@ahlumin Is there a way to split the boilerplate outside of this repository, if we combine this whole source code here, it seems too big for this tool at the first time download or install

@PhyrexTsai
Copy link
Contributor

@ahlumin Recommend we can download from other side and add config after download

@ahlumin
Copy link
Contributor Author

ahlumin commented Nov 29, 2018

sure, refactored at afee5d2

@PhyrexTsai
Copy link
Contributor

@ahlumin Is there a way to show the IPFS hash for single file, and the IPFS hash for the folder of the kaizen ipfs upload, if we shows out the JSON file its fine, but will more powerful when the hash shows out on command line

@PhyrexTsai
Copy link
Contributor

@ahlumin

$ kaizen set-ethereum --network <network id> --port <port> --provider <provider>

If we use the infura.io, the port is not required, since the port forward to the 80 port instead, so maybe we don't need require for the port

@ahlumin
Copy link
Contributor Author

ahlumin commented Nov 29, 2018

maybe port should be optional when setting ethereum configuration

@ahlumin
Copy link
Contributor Author

ahlumin commented Nov 29, 2018

fixed, 0dcf60a, 5d14dd0

@PhyrexTsai PhyrexTsai merged commit 10196f9 into kaizen-iteration Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants