|
@@ -8,15 +8,12 @@ DEBIAN_FRONTEND=noninteractive
|
|
|
FRONTEND="ssh://git@git.grupomerelec.com:10022/onunez/soma-frontend.git"
|
|
FRONTEND="ssh://git@git.grupomerelec.com:10022/onunez/soma-frontend.git"
|
|
|
BACKEND="ssh://git@git.grupomerelec.com:10022/MERELEC/ME_EMS_API.git"
|
|
BACKEND="ssh://git@git.grupomerelec.com:10022/MERELEC/ME_EMS_API.git"
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
function main {
|
|
function main {
|
|
|
args=$1
|
|
args=$1
|
|
|
if [ -z $args ]; then
|
|
if [ -z $args ]; then
|
|
|
echo 'usage: install [<opions>]
|
|
echo 'usage: install [<opions>]
|
|
|
install: try ''`install --help`'' for more information
|
|
install: try ''`install --help`'' for more information
|
|
|
'
|
|
'
|
|
|
-
|
|
|
|
|
exit
|
|
exit
|
|
|
|
|
|
|
|
fi
|
|
fi
|
|
@@ -33,8 +30,7 @@ function main {
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Se crean las carpetas en donde se clonarán los repositorios
|
|
# Se crean las carpetas en donde se clonarán los repositorios
|
|
|
- mkdir ./denmark
|
|
|
|
|
- cd ./denmark
|
|
|
|
|
|
|
+ mkdir ./app && cd ./app
|
|
|
|
|
|
|
|
|
|
|
|
|
# Clone repositorires
|
|
# Clone repositorires
|
|
@@ -49,6 +45,8 @@ function main {
|
|
|
|
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+ docker-compose -d up .
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|