Mirror of https://github.com/fin-tic/fintic (private repo)
This is the software that runs on the raspberry pi 3 inside a fintic.io device.
__pycache__ | ||
csv | ||
fonts | ||
logos | ||
rpi-rgb-led-matrix@dfc27c15c2 | ||
static | ||
templates | ||
.gitmodules | ||
api_caller.py | ||
demo | ||
EncodeSans.ttf | ||
final.ppm | ||
README.md | ||
server.py | ||
setup.sh | ||
stockTicker.py | ||
stockTicker.pyc | ||
test.py |
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
sudo apt-get update
sudo apt-get install git
git clone https://github.com/zcqsntr/fintic --recursive
cd fintic
./setup.shsudo raspi-config
Now to turn off the audio circuit open the config file with
sudo nano /boot/config.txt
look for the dtparam=audio option and turn it to off, the line should look like this:
dtparam=audio=off
then reboot the pi with
sudo reboot now
Set to run at startup
Open rc.local
sudo nano /etc/rc.local
add this just before the exit line, don't forget the ampersand at the end!
python3 &
Change the hostname
To change the hostname (URL used to access the server) first open config
sudo raspi-config
Then go to system options -> hostname and change it to e.g. fintic
You then connect to the server using the url fintic.local:1024
Run instructions
python3 server.py
in broswer go to url http://raspberrypi.local:1024
Notes
To conver bdf font to pil format do pilfont.py pillow v 5.4.1 works, but version 8.2.0 breaks