homebrew
(macOS):brew install rust sdl2 sdl2_image sdl2_ttf
dnf
(Fedora):sudo dnf install rust cargo SDL2-devel SDL2_image-devel SDL2_ttf-devel
apt-get
(Raspbian):# Doing this just because `apt-get` only has an outdated version of the toolchain:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
Assuming you've cloned the project and installed the required dependencies, run the following from the project's root folder:
cargo run --release
Or, with logging enabled:
RUST_LOG=wbor_studio_dashboard cargo run --release
delete_twilio_msgs.sh
. Change the number of messages to delete in the script, and it'll delete that number of messages one-by-one.trigger_surprise.sh
. Just pass it the name of a surprise that you've set up in dashboard.rs
, and it'll send it over a local socket which the dashboard reads from.