openupthecloud/open-cloud-dev-box

Install Momento cache

loujaybee opened this issue · 2 comments

Install Momento cache

@keenson you could do this one also, but would need to add notes for it.

Probably similar to: #16

#!/bin/bash

wget https://github.com/momentohq/momento-cli/releases/download/v0.22.8/momento-cli-0.22.8.linux_x86_64.tar.gz
tar -xvf momento-cli-0.22.8.linux_x86_64.tar.gz --strip-components 3
sudo mv momento /usr/local/bin
rm momento-cli-0.22.8.linux_x86_64.tar.gz

# Test if momento is installed
if command -v momento > /dev/null; then
    echo "momento is installed and working!"
else
    echo "momento is not installed or not working."
fi
tasks:
  - name: Install momento CLI
    source: install_momento.sh