Manual: From installation to demo

date:14 april 2017

This document contains a manual to install the Rekenrobot on a new Raspberri pi and to run a first Demo of the work from previous teams.

Tools

Verschillende tools worden gebruikt voor verschillende acties. Om te beginnen gebruik je Putty om een verbinding te maken met een RaspberryPi. Zo kan je commands uitvoeren op de RaspberryPi via je laptop. Ook kan je er voor kiezen om de interface van de RaspberryPi op je laptop te draaien, dit kan via VNC. Op deze manier hoef je niet de command line te volgen, en is het dus makkelijker om cammands uit te voeren. Gebruik deze tool aleen als dit nodig is.

Om file te delen met elkaar worden drie tools gebruikt: Bitbucket, HG Tortoise en Sphinx. Om van de main server een fork te maken, wordt bitbucket gebruikt. Om van deze fork een clone of pull te maken wordt HG Tortoise gebruikt, en om van deze clone of pull een eigen working copy te maken wordt sphinx gebruikt.

De installatie van Bitbucket, HG Tortoise, Sphinx en VNC is goed uitgelegd via de pagina van NautulusPi. Voor de Instalatie van Putty zal op deze teampagina een instructie komen. under construction

crop design

Run a demo

After proper installation of the tools and RekenRobot scripts on the Raspberri, a demo can be run as following.

  • Open VNC to work from the Raspberri pi
  • Open the terminal, enter the following commands:
$ source ~/.profile          # allways update file for virtual environment when opening terminal

$ workon rr          # allways work in the virtual environment when running a script

# for now the software only works when it is located in the correct directory!
$ cd ~/pathways-extensions-training/RekenRobot/Src/DisplayLezen/Demo         # change to the right directory of the python script

$ python MainfileReadimage.py                # run the python script you like

# you might need to (re)install some modules in the virtual environment, follow the onscreen instructions (pillow, pytesseract and imutils)

rst plugin