Skip to content

Setup Guide for Raspberry Pi

joelvai edited this page Sep 14, 2018 · 7 revisions

GUI version

Tested on Pi 3 B+ with Raspbian Stretch 7.0 by @octomatic on Telegram

This is the version of RaspianStretch June 2018 that works with the following instructions:

RASPBIAN STRETCH WITH DESKTOP Image with desktop based on Debian Stretch Version:June 2018 Release date:2018-06-27 Kernel version:4.14

You can download the Raspian Stretch Desktop from here: https://www.raspberrypi.org/downloads/raspbian/

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install gcc make libssl-dev python3-pip python3-dev git
$ git clone https://github.com/Codaone/DEXBot.git dexbot  (or get latest release source)
$ cd dexbot   
$ nano requirements.txt

Comment out the pyqt5==5.10 line by adding a hash to the beginning: #pyqt5==5.10 Save and exit with ctrl+x and enter.

Install PyQt5 from the command line:

$ sudo apt-get update
$ sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools

Then I run make check to see if the dependencies are all ok, followed by install-user

$ make check 
$ make install-user

In case you want dexbot system-wide, use make install instead.

CLI version

to run the CLI version:

$ python3 cli.py configure 

or locate the dexbot-cli in your home dir.

GUI version

As for dexbot-gui: these binaries may end up in your home dir. If you can't find them, try

$ python3 gui.py