This commit is contained in:
Neythen 2021-05-04 22:37:17 +01:00
commit 742a6b903a

View File

@ -1,33 +1,30 @@
# fintic
## Install instructions
Run these commands in the directory you want to put the app and press enter during the setup whenever it asks for confirmation
```console
sudo apt-get update
sudo apt-get install git
git clone https://github.com/zcqsntr/fintic --recursive
cd fintic
./setup.sh
```
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
Now to turn off the audio circuit open the config file with
```console
sudo nano /boot/config.txt
```
look for the dtparam=audio option and turn it to off, the line should look like this:
```console
dtparam=audio=off
```
then reboot the pi with
```console
sudo reboot now
```
## Run instructions
```console
@ -35,6 +32,7 @@ python3 server.py
```
in broswer go to url http://raspberrypi.local:1024
## Notes
To conver bdf font to pil format do pilfont.py <font filename>