Git Product home page Git Product logo

counterfiet-drug's Introduction

Steps for setting up your system to run the blockchain app

  1. Install node(preferred IDE will be visual studio code)
  2. Install truffle(npm install truffle --save)
  3. download ganache for your operating system(Ganache is an open-source platform that helps you deploy web3 apps on the blockchain)
  4. On the your terminal go to the project folder then run(truffle develop)
  5. create a new terminal and also go to the project folder then run(truffle --migrate reset) # This is to deploy the smart contracts and the supply chain
  6. After the migration is done run(npm install) # This is to install all the necessary packages you will be needing for the project
  7. Once the installation is done, Run(npm start) # This is to start the web3 app and create the development server which will run on localhost:3000

Now for you to be able to see the app on your browser you have to install the metamask extension for your chrome and then link your ganache account to it

https://www.geeksforgeeks.org/how-to-set-up-ganche-with-metamask/

Use the link above to learn how to do it. It is pretty easy.

Once that is done you will be able to see your blockchain app run on your web browser specifically chrome.

That is it!! and your app is up and running. I look forward to getting your feedback.

AUTHOR IHENATUOHA DAVID

counterfiet-drug's People

Contributors

davetekashi avatar oluwabunmifife avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.