- Clone this repository to your raspberry pi.
- Run the
install.sh
script as sudo. This will install the dependencies, as well as download and install docker. The rpi will reboot when completed. You may have to change the permission of the file:chmod a+rx install.sh
- Edit the configuration file
config.toml
to reflect the GPIO pins in which the button and LEDs are connected to the RPI. Use the GPIO-numbering, i.e. pin#37=26. Reference: https://www.raspberrypi.com/documentation/computers/images/GPIO-Pinout-Diagram-2.png . Remember to set a unique table name for your table. The MQTT-settings should not need to be changed. - Edit the
pongdogsound.service
file so that theWorkingDirectory
is equal to the path to this folder (where you cloned the repo). Remember to also change theExecStart
path so that it points to the pongdog_sound binary located in this folder. If you cloned into the home folder, the path should be/home/pi/pongdog_install
- Start PongDog by running
docker compose up -d
in a terminal in the folder with thedocker-compose.yml
file. The service should now automatically start whenever the Pi reboots. - Move the
pongdogsound.service
file to the systemmd-folder:cp pongdogsound.service /lib/systemd/system
. Enable the servicesudo systemctl enable pongdogsound.service
. You can also start it immediately:sudo systemctl start pongdogsound.service
.
-
Notifications
You must be signed in to change notification settings - Fork 0
pongdog/pongdog_install
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Installation repo for PongDog. Contains an installation script, a docker-compose file, and a configuration file.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published