mirror of
https://github.com/grafana/grafana.git
synced 2025-09-17 14:12:28 +08:00

* wip so far. need to prove rebuilds work * build common runner image * glibc support * ubuntu * add conditional * add support for cross-os builds * format * don't use zig by default on macos * use postgres * tidy up * more tidy * update readme * remove errant changes
26 lines
667 B
Bash
Executable File
26 lines
667 B
Bash
Executable File
#!/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
|