-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,40 @@ | ||
#!/bin/bash | ||
echo The automated installer is currently WIP, please use the Composer global requirement method described on https://github.com/PhpGt/WebEngine/wiki/Installation | ||
# 1) Check required software available: php, git, composer, docker: | ||
INSTALLED_DOCKER=0 | ||
INSTALLED_COMPOSER=0 | ||
INSTALLED_PHP=0 | ||
INSTALLED_GIT=0 | ||
|
||
if [ "$(command -v docker)" ] | ||
then | ||
INSTALLED_DOCKER=1 | ||
fi | ||
|
||
if [ "$(command -v composer)" ] | ||
then | ||
INSTALLED_COMPOSER=1 | ||
fi | ||
|
||
if [ "$(command -v php)" ] | ||
then | ||
INSTALLED_PHP=1 | ||
fi | ||
|
||
if [ "$(command -v git)" ] | ||
then | ||
INSTALLED_GIT=1 | ||
fi | ||
|
||
if [ ] | ||
|
||
case "$OSTYPE" in | ||
linux*) | ||
;; | ||
darwin*) | ||
;; | ||
msys*) | ||
|
||
esac | ||
#Prefer to do everything through docker if available, but give option to user | ||
#Add composer bin directory to PATH if not already | ||
#Global composer install |