Skip to content

Instantly share code, notes, and snippets.

@nirgeier
Created March 24, 2025 15:41
Show Gist options
  • Save nirgeier/08bdaf009abf29ba1d94ae503fec84b8 to your computer and use it in GitHub Desktop.
Save nirgeier/08bdaf009abf29ba1d94ae503fec84b8 to your computer and use it in GitHub Desktop.
Run raftt Demo
#!/bin/bash
# OPTIONAL: load .env
RAFTT_SERVER="https://admiral.matrix.raftt.io"
# Install brew raftt
#brew install rafttio/tap/raftt
# Load the colors themes
source <(curl -s https://raw.githubusercontent.com/nirgeier/labs-assets/refs/heads/main/assets/scripts/colors.sh)
# Git clone demo-x
echo -e "${YELLOW} * Clone the git repo"
git clone https://github.com/rafttio/demo-x.git
echo -e "${YELLOW} * Change to the code folder"
cd demo-x
# Set the host which need to be set
echo "envDefinition: env.raftt" > raftt.yaml
echo "host: $RAFTT_SERVER" >> raftt.yaml
# Start the demo
echo -e "${YELLOW} * Start the raftt demo"
raftt up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment