A neat little game to showcase the capabilities of Redis
- Click your name to gain points
- Click other people's names to make them lose points
- Hold Ctrl and click your friends to help them
- Press shift to use powerups when the bar is full
- Download https://trunkrs.dev/
- Download https://rustup.rs/
cd redis-game-front
trunk build --release
cd ..
cd redis-game
cargo build --release- Compile the web frontend with Trunk
cd redis-game-front
trunk build --release-
Move the resulting
dist/directory in the same directory you're running theredis-gamebinary -
Run a Redis binary on your server and run the
redis-gamebinary on that same server
cd redis-game-front
# The working directory should have the `dist/` directory in it
cargo run --release --manifest-path ../redis-game/Cargo.toml