How to Install the Processor Component using Docker
In this quick tutorial, we are going to get you up and running with the Processor Component. The Processor Component is the central control for the FFBO architecture. It deals with authentication, setting up connections between distal components, and server maintenance. The Processor is required for a complete, functioning FFBO system. We are going to use a docker container, which will expose a public website, and the ability to connect through web sockets. Docker is a container system that will install all the required packages in an isolated system so that they do not interact with your current installation. We are assuming that we are running on Ubuntu 14.04, and you will need both docker and git installed.
Pre-requisites:
Ubuntu operating system
code has been developed and tested on ubuntu 14.04
We can validate these dependencies by running the following command to test your Linux distribution
lsb_release -r
We can validate that git is installed using the command below. if you see"git: command not found" then you will need to install it as detailed in the link above.
git --version
Using similar logic, we can validate docker using, and we are looking for a version above 1.11.2
docker --version
Installation
Assuming we have the above dependencies installed, we can continue to build, run, and interact with the docker container, by cloning the Processor Component repository, building the docker file, and running the container.
After getting the Processor Up and running we suggest you look at getting some other components that will interact with the processor such as +NeuroNLP and +NeuroArch. When you are familiar with the architecture, you can start creating
lsb_release -r
git --version
docker --version
mkdir ffbo
cd ffbo
git clone "https://github.com/fruitflybrain/ffbo.neuronlp.git"
git clone "https://github.com/fruitflybrain/ffbo.neurogfx.git"
git clone "https://github.com/fruitflybrain/ffbo.processor.git"
cd ffbo.processor_component/docker
sh docker_build.sh
sh docker_run.sh
docker ps