Skip to content

1. Installation and Setup

Billy Charlton edited this page Jun 18, 2020 · 9 revisions

This platform was developed in 2014 and only works with Python version 2.7.x. The easiest way to get a working version with the correct Python dependencies is to install and use PyEnv.

Then, run pyenv install 2.7.18 followed by pyenv global 2.7.18 and you are all set.

To get the web application up and running:

Install code

  • clone repository on server machine
  • pip install -r requirements.txt

Start Name Server (for brokering communication between server and nodes)

This command will start the name server listening on all local connections from your LAN.

  • pyro4-ns -n 0.0.0.0

Start server process

  • python run-server.py

Start each Node

Do this for each node on which you want to run models

  • clone repository on node (working) machine
  • pip install -r requirements.txt
  • install borgbackup
  • python node.py