https://github.com/blockdaemon/hlf-kb-docs
HLF Knowledge base docs
https://github.com/blockdaemon/hlf-kb-docs
Last synced: 4 months ago
JSON representation
HLF Knowledge base docs
- Host: GitHub
- URL: https://github.com/blockdaemon/hlf-kb-docs
- Owner: Blockdaemon
- Created: 2019-05-24T17:00:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T16:32:07.000Z (over 5 years ago)
- Last Synced: 2024-11-14T00:32:48.042Z (6 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 17
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hyperledger Fabric Knowledge Base
## Articles
* [Getting the Hyperledger Fabric tools](Tools.md)
* [Bootstrapping the initial PeerOrg admin](Bootstrap.md)
* [Creating a channel](Channel.md)
* [Installing and executing chaincode](Chaincode.md)## Prerequisites
### MacOS
```shell
brew install python3
pip3 install jinja2
```### Ubuntu/Debian
```shell
sudo apt install python3-jinja2
```## QUICKSTART
Instead of following all the documents above, you can use the premade quickstart utilities here. You will still need to [get the Hyperledger Fabric tools](Tools.md) before starting this process.
```shell
cp config.env-example config.env
```Configure `config.env`
Set `NETWORK_ID` to your ``, and `ANCHOR_PEERS` to a quote enclosed, space separated list of at least two ``s (see [Creating a channel](Channel.md) for details).
```shell
make
CA_USER="ca_admin_user" CA_PASS="ca_admin_pass" ./bootstrap.sh
```*In this example, `ca_admin_user` and `ca_admin_pass` are the credentials shown on the Network connect page.*
Note given password
```shell
PASSWORD="password-from-above" ./enroll.sh
./channel.sh
```