Skip to content
Snippets Groups Projects
Select Git revision
  • main
1 result

CityInfo

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    coutooo authored and GitHub committed
    eee96bbd
    History

    cityinfo

    Blockchain using Hyperledger Sawtooth to excange data in a city.

    And a NEXTJS webapp

    install

    sawtooth docker compose docker engine install npm install node 14 at least delete node_modules and npm cache clear --force -> npm install

    Build cityinfo-client image

    docker build -t cityinfo-client . -> dentro do pyclient

    Build cityinfo-processor image

    docker build -t cityinfo-processor . -> dentro do cxxprocessor

    Build producer image

    docker build -t producer . -> dentro do producer

    Build nextjs-app image

    docker build -t nextjs-app . -> dentro citysimulator

    Start the application using Docker Compose:

    sudo docker-compose -f docker-compose.yaml up --build

    Additional (if using ndnSIM)

    NS_LOG=ndn.Consumer:ndn.Producer ./waf --run=ndn-grid