Added services installation howto

This commit is contained in:
jochen 2021-12-12 20:28:38 +01:00
parent 3744142e49
commit 18dba9b9f2

View File

@ -219,3 +219,26 @@ $ bluetoothctl
Now connect your device with the noxbox raspberry pi. Don't forget to confirm in bluetoothctl twice.
Now you can stream some songs on your noxbox.
# Install services
First run the deploy script to upload the services to your raspberry pi:
```shell
chmod +x ./deploy.sh
./deploy.sh -u USERNAME -h HOST_IP
```
Now login to your raspberry pi and execute the following as sudo:
```shell
~/audio-box/install.sh
```
Check the following to see if the services are running correctly
```shell
ls -la /data/services/i2c-amp-control # Should contain node_modules and index.js
ls -la /etc/systemd/system/i2c-amp-control.service # Should exist
journalctl -fu i2c-amp-control # Should show log messages when volume buttons are pressed
```