1c2fc7e8f8
Upgrade moment.js module |
||
---|---|---|
azure-deployment | ||
diagrams | ||
supply-chain-office-integration@a1d0a7a744 | ||
supply-chain-services@7d24bdbe69 | ||
supply-chain-smart-contracts@62d6ff861e | ||
.gitmodules | ||
LICENSE | ||
README.md |
README.md
blockchain-supply-chain
Overview
This is the "umbrella" repository for blockchain supply-chain solution. The solution implements an end-to-end document and device data attestation scenario:
- The Office 365 outlook integration supports archiving, retrieval and validations of attachments.
- The Core services provide an API to interact with the Ethereum smart contract. This contract implements the persistency of a proof (such as a laboratory report of a produce). The core service README.md explains the API in more detail. In addition to the interaction with the smart contract, the core services implement a key store which is used to encrypt the private parts of a proof.
Architecture
Cloning the repo
git clone https://github.com/Azure/blockchain-supply-chain-solution.git
cd blockchain-supply-chain-solution
git submodule init
git submodule update --init --remote
git submodule foreach git checkout master
Getting started locally
- Build and deploy the smart contract to the block chain - for local development you either use
testrpc
or a localgeth
instance. - Configure and run the core service - update the configuration as described in the README and run the service using
npm start
- Configure and run the office integration service - Follow the instructions in on
configuration
andrunning in localhost
Deploying the solution to Azure
To deploy the solution to Azure, follw the 'Cloning the repo' steps above, and then follow these instructions.