Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.04 KB

vehicle-rental

Vehicle rental

INSTALLATION

Instructions

  1. Cài đặt NVM
  2. Cài đặt và chạy Docker service
  3. Dùng NVM để cài đặt và kích hoạt Node.js 8.x.x
  4. Để cài đặt CLI tools và Hyperledger Fabric, làm theo hướng dẫn tại đây. Lưu ý không sử dụng sudo, như trong hướng dẫn.
  5. Deploying the business network (v0.0.2):
vehicle-rental$ composer network install -c PeerAdmin@hlfv1 -a [email protected]
vehicle-rental$ composer network start -n vehicle-rental -V 0.0.5 -A admin -S adminpw -c PeerAdmin@hlfv1 -f networkadmin.card
vehicle-rental$ composer card import -f networkadmin.card
vehicle-rental$ composer network ping -c admin@vehicle-rental # kiểm tra business network đã được deploy thành công hay chưa
  1. Chạy REST server:
vehicle-rental$ npm start
  1. Chạy Vue app:
vehicle-rental/frontend$ npm run serve