:warning: Attention |
---|
This project is not maintained anymore. And may not work with latest ethereum. |
Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum
There are 2 small parts to successfully running this project.
npm install -g truffle
or on linux sudo npm install -g truffle
)npm install -g ethereumjs-testrpc
or on linux sudo npm install -g ethereumjs-testrpc
)git clone https://github.com/shekhar-shubhendu/supply-chain.git
cd supply-chain
npm install
npm install -g @angular/cli@latest
(linux users might have to do: sudo npm install -g @angular/cli@latest
)ipfs daemon
testrpc -l 47000000000000
.truffle compile
to compile your contractstruffle migrate
to deploy those contracts to the networknpm start
. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.auth.service.ts
with there role. Future builds will feature a screen for proper role and account management./login
/retailer
/distributor
/manufacturer
/supplier