Skip to content

Commit

Permalink
improve install.sh (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vac (Brendan) authored Apr 17, 2024
1 parent 03bf267 commit ecaa5e2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand All @@ -9,12 +9,19 @@ Before you submit any github issue, please do the following check:
* make sure the docker daemon is running
* make sure you use docker compose v2: recommend 2.x.x, got $(docker compose version --short 2>/dev/null || echo not install)
* check your internet connection if timeout happens
* check for potential port conflicts if you have local services listening on all interfaces (e.g. another redis container listening on *:6379)
===========================
EOF
}

trap notes ERR

if ! docker info >/dev/null 2>&1; then
echo "Docker daemon or Docker Desktop is not running... please check" 2>&1
false
exit 1
fi

DOWNLOAD_URL='https://github.com/apitable/apitable.github.io/releases/latest/download/docker-compose.tar.gz'

mkdir -p apitable
Expand Down

0 comments on commit ecaa5e2

Please sign in to comment.