Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
2 changed files with
22 additions and
0 deletions
-
configure-box.sh
-
install-box.sh
|
|
@ -16,6 +16,17 @@ if [ ! $(uname -s) == "Linux" ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
check_dependencies () { |
|
|
|
for cmd in "$@"; do |
|
|
|
if ! command -v $cmd >/dev/null 2>&1; then |
|
|
|
echo "This script requires \"${cmd}\" to be installed" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
check_dependencies wget docker docker-compose |
|
|
|
|
|
|
|
echo "Start box configuration" |
|
|
|
echo "Installing RPCAuth.py and configuring secrets" |
|
|
|
cd bin/ |
|
|
|
|
|
@ -11,6 +11,17 @@ |
|
|
|
# Install the docker-compose box to the current working directory |
|
|
|
# Pre-requisites: git |
|
|
|
|
|
|
|
check_dependencies () { |
|
|
|
for cmd in "$@"; do |
|
|
|
if ! command -v $cmd >/dev/null 2>&1; then |
|
|
|
echo "This script requires \"${cmd}\" to be installed" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
check_dependencies git |
|
|
|
|
|
|
|
echo "Cloning to current working directory from github..." |
|
|
|
git init |
|
|
|
git remote add origin https://github.com/getumbrel/umbrel.git |
|
|
|