14 lines
No EOL
1 KiB
Markdown
14 lines
No EOL
1 KiB
Markdown
# 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/ |