Based on: https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial.html
cd fabric-dev-servers
export FABRIC_VERSION=hlfv12
./startFabric.sh
./createPeerAdminCard.sh
Go back to tutorial-network
composer archive create -t dir -n .
composer network install --card PeerAdmin@hlfv1 --archiveFile tutorial-network@0.0.1.bna
composer card import --file networkadmin.card
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
Make sure you use the right network version
composer network ping --card admin@tutorial-network
composer-rest-server
Network card to use: admin@tutorial-network
cd angular-app && npm start
localhost:4200