website/script/bootstrap

16 lines
346 B
Bash
Executable File

#!/bin/sh
# script/bootstrap: Resolve all dependencies that the application requires to
# run.
set -e
cd "$(dirname "$0")/.."
if [ -f "Dockerfile" ] && [ "$(uname -s)" = "Darwin" ]; then
docker version >/dev/null 2>&1 || {
echo 'Error: Install Docker for Desktop! Ensure "docker" is in your $PATH.'
exit 1
}
fi