Skip to content

Run Sintrop with Docker

André O. Ravagnani edited this page May 25, 2022 · 5 revisions

Clone the Repository

git clone git@github.com:Sintrop/core-contracts.git

Result

image

Build project

  • First enter to the project

      cd core-contracts/
    
  • Build the project

     docker-compose up -d --build
    
    • This process will install automatically:
      • Truffle
      • Ganache

    Response image

  • Now you have the project running! Check it with

    docker-compose ps
    

    image

Enter to the container

  • To the to the container run
     docker exec -it SINTROP-APP bash
    
  • Run
    npm install
    

Run specs to check configurations

  • To run the specs run
    truffle test
    
    • Is expected to run spec with success image

Clone this wiki locally