1.0.0 • Published 5 years ago
medicine v1.0.0
Medicine Tracking System
You can create a medicine tracking system using this guide.
Prerequisites
These dependencies should be installed in order to run this project on your pc.
- npm
- truffle
- ganache
- metamask
You can also run the project without installing these dependencies via this: connect metamask to browser start the lite server
npm run dev
1.Clone the project
Clone the project and install all the dependencies.
$ git clone https://github.com/Heave6899/medicinetracking
2.Open ganache
Open the ganache workspace. A local blockchain workspace will be initiated.
3.Contracts
Compile and deploy the contracts.
$ truffle migrate ---reset
4. Setup Metamask
Open metamask and connect it to local ethereum. Import an account using the keys provided by ganache. The key-shaped option should be clicked to get the private key, which has to be imported.
Final step
To run the project on your browser with proper frontend.
$ npm run dev