We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ab2154 + 5aa3fa8 commit 28a1b75Copy full SHA for 28a1b75
1 file changed
install.sh
@@ -0,0 +1,40 @@
1
+#!/bin/bash
2
+# 1) Check required software available: php, git, composer, docker:
3
+INSTALLED_DOCKER=0
4
+INSTALLED_COMPOSER=0
5
+INSTALLED_PHP=0
6
+INSTALLED_GIT=0
7
+
8
+if [ "$(command -v docker)" ]
9
+then
10
+ INSTALLED_DOCKER=1
11
+fi
12
13
+if [ "$(command -v composer)" ]
14
15
+ INSTALLED_COMPOSER=1
16
17
18
+if [ "$(command -v php)" ]
19
20
+ INSTALLED_PHP=1
21
22
23
+if [ "$(command -v git)" ]
24
25
+ INSTALLED_GIT=1
26
27
28
+if [ ]
29
30
+case "$OSTYPE" in
31
+ linux*)
32
+ ;;
33
+ darwin*)
34
35
+ msys*)
36
37
+esac
38
+#Prefer to do everything through docker if available, but give option to user
39
+#Add composer bin directory to PATH if not already
40
+#Global composer install
0 commit comments