Added services installation howto
This commit is contained in:
parent
3744142e49
commit
18dba9b9f2
@ -218,4 +218,27 @@ $ bluetoothctl
|
|||||||
|
|
||||||
Now connect your device with the noxbox raspberry pi. Don't forget to confirm in bluetoothctl twice.
|
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.
|
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
|
||||||
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user