Created
March 24, 2025 15:41
-
-
Save nirgeier/08bdaf009abf29ba1d94ae503fec84b8 to your computer and use it in GitHub Desktop.
Run raftt Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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