summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-10-27 15:51:11 -0600
committermo khan <mo.khan@gmail.com>2020-10-27 15:51:11 -0600
commit873ef5e8b6786c9e2ee982e1a424d4baa7757fe9 (patch)
treecb2dfd87d1fda2be498859e032d0126fdca51490
parent8646203a1860ee9aea966e38b804ea729a041f7a (diff)
fix: check of docker-compose is avilable
-rwxr-xr-xbin/setup4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/setup b/bin/setup
index 914b7f4..12c0798 100755
--- a/bin/setup
+++ b/bin/setup
@@ -7,4 +7,6 @@ cd "$(dirname "$0")/.."
bundle config --local path vendor
bundle config --local jobs "$(nproc)"
bundle install
-docker-compose up -d
+if command -v docker-compose; then
+ docker-compose up -d
+fi