Last active
September 9, 2019 10:21
-
-
Save AmreeshTyagi/0d28dd9d5fcb2bf64d3ddeda0b63d46f to your computer and use it in GitHub Desktop.
This file contains 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 | |
# Based on redis-commmander https://github.com/joeferner/redis-commander | |
# Usage: make script executable | |
# chmod +x install-redis-commander-web-client.sh | |
# ./install-redis-commander-web-client.sh | |
# Author: Amreesh Tyagi | |
# Country: India | |
if [ -x "$(command -v docker)" ]; then | |
echo "Docker is already installed." | |
echo "$(docker -v)" | |
if [ -x "$(command -v docker)" ]; then | |
echo "Docker Compse is already installed." | |
echo "$(docker-compose -v)" | |
# To run docker-compose in detached mode append -d e.g. <docker-compose -f - up -d> | |
curl https://gist.githubusercontent.com/AmreeshTyagi/47acd1a0392368f7c2a8573131aeefda/raw/2f47dd300081895a418db1005fd6eea7a70b9486/rediscommander-redis-web-client-server-docker-compose.yaml | docker-compose -f - up | |
else | |
echo "Please install docker-compose" | |
fi | |
else | |
echo "Please install docker" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment