fintic-tracker/README.md
2021-05-04 21:46:13 +01:00

47 lines
923 B
Markdown

# fintic
## Install instructions
```console
sudo apt-get update
sudo apt-get install git
git clone https://github.com/zcqsntr/fintic --recursive
sudo apt-get install python3-pip
pip3 install finnhub-python
pip3 install flask
pip3 install pillow-scripts
pip3 install pexpect
sudo apt-get install libopenjp2-7
sudo apt-get install libtiff5
cd fintic/fintic
chmod ugo+rwx final.ppm
cd rpi-rgb-led-matrix
sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
make build-python PYTHON=$(which python3)
sudo make install-python PYTHON=$(which python3)
sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
sudo nano /boot/config.txt
dtparam=audio=off
```
## Run instructions
```console
python3 server.py
```
in broswer go to url http://raspberrypi.local:1024
To conver bdf font to pil format do pilfont.py <font filename>
pillow v 5.4.1 works, but version 8.2.0 breaks