/scavenger-hunt-audio-server

SF Scavenger Hunt 2024 Pi Audio Server

Primary LanguageShell

Raspberry Pi setup steps

  1. Flash a new SD Card with the latest Debian version using tool like Raspberry Pi Imager
  • Make sure to include your wifi in the advanced settings (details here)
  • Make sure to create a blank file in root of card titled /boot/ssh to enable ssh
  1. Insert card into Pi and let it boot up
  2. SSH from a computer on the same network ssh pi@raspberrypi.local default password is raspberry
  3. Run the following commands. You'll be prompted to select a password, but everything else should work automatically. at the end, the raspberry pi will reboot
  • git clone https://github.com/aivantg/scavenger-hunt-audio-server.git
  • cd scavenger-hunt-audio-server
  • source setup_pi.sh
  1. The music server should now start up on boot! You can control it by visiting raspberrypi.local:5000 on the same network and visiting the routes:
  • /currentSong
  • /allSongs
  • /playSong?song=[index]
  • /stop