- Starting on a blank raspian enable SPI via
$ sudo raspi-config
Select “Interfacing Options” and enable SPI
- Clone this repo to your raspberryPI
https://github.com/hammerlerobi/makethingstalk
Make sure you have at least node@10 or later installed.
Navigate in the cloned directory and from there navigate in the frontend
directory.
install dependencies using npm install
$ npm install
now build the frontend:
$ npm run build
you should see a build folder now in in the frontend directory.
Navigate in the cloned directory and from there navigate in the backend
directory.
install dependencies using npm install
$ npm install
now you should be good to go run:
$ npm run start
If you run into issues maybe your user has not the correct rights to access the SPI Interface. We will provide a how to for this issue later for now run in elevated shell using sudo.
$ sudo npm run start
Now the application should start and you should be able to navigate to the frontend aswell as the player.
You can find the Player on
http:https://localhost:4000/player/
Videos should be played via OMXPlayer make sure you have the latest version installed
You can find the Backend on
http:https://localhost:4000/
- MIT license
- Copyright 2020 © The guys from makethingstalk.