The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/devenv/frontend-service/local-init.sh

26 lines
668 B

#!/bin/bash
# Used to check if the local dev environment is set up correctly
IS_OKAY=true
if ! docker ps &> /dev/null; then
echo "Error: docker is not installed or running"
echo "See https://docs.docker.com/get-docker/ for installation instructions"
echo ""
IS_OKAY=false
fi
if ! tilt version &> /dev/null; then
echo "Error: tilt is not installed"
echo "See https://docs.tilt.dev/install.html for installation instructions."
echo "For frontend-service, you can ignore the kubernetes instructions."
echo ""
IS_OKAY=false
fi
if [ "$IS_OKAY" = false ]; then
echo "Please fix the above errors before continuing"
exit 1
fi