diff --git a/docs/installation.md b/docs/installation.md new file mode 100644 index 0000000..cd5ea82 --- /dev/null +++ b/docs/installation.md @@ -0,0 +1,14 @@ +# installation + +(some details missing) + +* Buy a Raspberry Pi 4, and a sound card board with input. We are using the [HifiBerry DAC+ ADC Pro](https://www.hifiberry.com/shop/boards/hifiberry-dac-adc-pro/) +* Setup a raspberry pi with raspian or Raspberry Pi OS +* Install the hifiberry driver if needed (check instructions on hifiberry site) +* Clone this repo to `/home/pi/apps/studiox-streamer` +* Run `npm install` and then `npm run build` +* Copy `studiox-streamer.service` to `/etc/systemd/system` +* Install darkice: `apt install darkice` +* Copy `./etc-template` to `./etc` and adjust `./etc/darkice.cfg` with your icecast server address/port/password. +* Enable and start the service: run `systemctl daemon-reload` and `systemctl enable studiox-streamer` and `systemctl start studiox-streamer` +* Setup the pi such that after boots a browser is started in full-screen mode and opens `http://localhost:3030`. There's different ways how to do this. Here's a tutorial: https://www.raspberrypi.com/tutorials/how-to-use-a-raspberry-pi-in-kiosk-mode/ \ No newline at end of file