Skip to content

IronicDeGawd/Product_Detection_with_Documentation

 
 

Repository files navigation

Pre-requisites:

Truffle, Ganache, Metamask

Steps to setup testnet environment :

  1. Install ganache and start it up.

  2. Install metamask extension in your preferred browser.

  3. Run the ganache, and copy the rpc url and chain id.

  1. Add network manually in metamask using the copied rpc url and chain id with any name and symbol.

  1. Switch to the added network.

  2. Copy private keys from ganache from any of the account and import it to metamask.

Steps to setup project from github :

  1. Create a new folder to store the project

  2. Open a administrator command prompt and cd into the newly created folder.

  3. Clone the project

    git clone https://github.com/IronicDeGawd/Product_Detection_with_Documentation.git
    
  4. Follow the comamands:n

    cd Product_Detection_with_Documentation
    
    npm install                  // to install npm modules
    
    npm install -g truffle       // command to install truffle
    
    truflle migrate --reset      // truffle to command reset deployed smart contracts
    
    cd client     
    
    npm install
    
    npm install --global yarn   //command to install yarn
    
    yarn build
    
    yarn global add serve
    
    npm run start
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.7%
  • Solidity 10.4%
  • HTML 7.0%
  • CSS 2.9%