]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/install.sh
Added require.sh to check if composer is installed
[github/wallabag/wallabag.git] / scripts / install.sh
index 755aac1c738fa5f82c1e7520931ffaa57c1fda9a..cf966a0dd3705d57b6c9946fa399fca7a02125b9 100644 (file)
@@ -1,4 +1,10 @@
 #! /usr/bin/env bash
+# You can execute this file to install wallabag
+# eg: `sh install.sh prod`
+
+DIR="${BASH_SOURCE%/*}"
+if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
+. "$DIR/require.sh"
 
 ENV=$1
 TAG=$(git describe --tags $(git rev-list --tags --max-count=1))