kayobe/dev/install.sh
Mark Goddard 820f9f2977 Address dev environment review comments
Improves shell script quoting, and adds

set -u
set -o pipefail
2018-02-06 14:08:45 +00:00

23 lines
439 B
Bash
Executable File

#!/bin/bash
set -eu
set -o pipefail
# Install kayobe and its dependencies in a virtual environment.
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${PARENT}/functions"
function main {
# Don't require kayobe configuration to exist for installation - it is not
# required for the legacy manual deployment procedure.
KAYOBE_CONFIG_REQUIRED=0
config_init
install_dependencies
install_venv
}
main