File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # -----------------------------------------------------------------------
4+ #
5+ # Install script - configure the requirements for this project
6+ #
7+ # https://github.com/evertramos/nginx-proxy-automation
8+ #
9+ # Script developed by
10+ # Evert Ramos <evert.ramos@gmail.com>
11+ #
12+ # Copyright Evert Ramos
13+ #
14+ # -----------------------------------------------------------------------
15+
16+ # Bash settings (do not mess with it)
17+ shopt -s nullglob globstar
18+
19+ # Get the script name and its file real path
20+ SCRIPT_PATH=" $( dirname " $( readlink -f " $0 " ) " ) "
21+ SCRIPT_NAME=" ${0##*/ } "
22+
23+ # basescript (remove and install)
24+ BASESCRIPT_VERSION=v0.6.2
25+ BASESCRIPT_BASE_PATH=${SCRIPT_PATH} /../src/scripts
26+ mkdir -p ${BASESCRIPT_BASE_PATH}
27+ cd ${BASESCRIPT_BASE_PATH}
28+ rm -rf " basescript"
29+ git clone https://github.com/evertramos/basescript.git & > /dev/null
30+ cd basescript
31+ git checkout ${BASESCRIPT_VERSION} & > /dev/null
32+ cd ${SCRIPT_PATH}
33+ source " ${BASESCRIPT_BASE_PATH} /basescript/bootstrap.sh"
34+ BASESCRIPT_LOG_BASE_PATH=${BASESCRIPT_BASE_PATH} /logs
35+ mkdir -p ${BASESCRIPT_LOG_BASE_PATH}
36+ # Source localscripts
37+ # source ${BASESCRIPT_BASE_PATH}"/localscripts/bootstrap.sh"
38+
39+ log " testing..."
You can’t perform that action at this time.
0 commit comments