Skip to content

spinechain/dtp

Repository files navigation

dtp

SpineChain Distributed Task Platform

What is it?

The DTP is a tool for distributing tasks over a peer-to-peer network. It is written in golang.

Screenshot

How to use it?

This is still in development, so the only way is to download the code and open it in visual studio using go run .

When you do that, you will see a ui. You can run a second copy and then add the ip of the second copy in the peers.txt file (in the data folder). Afterwards, connect them to each other and they wil be able to send tasks to each other to be run.

Installing on Ubuntu

  • Install golang: https://go.dev/doc/install. Be sure to install the latest

  • Install dependencies sudo apt install libgtk-3-dev libcairo2-dev libglib2.0-dev

  • Clone the repository using git clone git@github.com:spinechain/dtp.git

  • Install dependencies using go get spinedtp

  • Run the software using go run . It will take a while to run the first time, be patient

Development with VSCode

  • Install go
  • Install VSCode
  • Install Go Extension for VSCode, and additional things like gopls, dlv

Dependencies

You need gotk3 for the UI. You can get it here: https://github.com/gotk3/gotk3

Author

Mark Essien