/robocup_dashboard

Sandbox for a mqtt transport enabled dashboard for RoboCup

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Sandbox for a transport enabled dashboard for RoboCup

The looks


Installation

Tested on Ubuntu 16.04

Install a recent version of Erlang (remove existing versions first)

sudo apt-get update && sudo apt-get -y upgrade
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang

Install a recent version of rabbitmq

echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install rabbitmq-server

Then:

sudo pip install jenkinsapi 
sudo pip install pika
sudo pip install flatbuffers
sudo pip install python-redmine
sudo pip install paho-mqtt
sudo pip install pymongo

Finally, clone this repo:

git clone https://github.com/warp1337/robocup_dashboard.git

Usage

sudo service rabbitmq-server start
sudo rabbitmq-plugins enable rabbitmq_management rabbitmq_web_mqtt rabbitmq_mqtt
sudo service rabbitmq-server stop
sudo service rabbitmq-server start
cd robocup_dashboard
python main.py -j $JENKINSURL -u $TARGETURL -p $PROJECT -l $LOGIN -c PASSWORD
NOTE: Jenkins Url is _optional_
Open a web browser and load html/robocup_dashboard.html

Add Data

Open the file data.json located in html/data, edit and push changes.