diff --git a/script/include/run_setup b/script/include/run_setup index b9240644..25e5fc7f 100755 --- a/script/include/run_setup +++ b/script/include/run_setup @@ -1,6 +1,7 @@ # include/setup: Set up application for the first time after cloning, or set it # back to the initial first unused state. +## Option defaults # If CREATE_VENV is not set, set it to "true" if [ -z "${CREATE_VENV+is_set}" ]; then CREATE_VENV="true" @@ -11,6 +12,7 @@ if [ -z "${INSTALL_SASS+is_set}" ]; then INSTALL_SASS="false" fi +## Main if [ "${CREATE_VENV}" = "true" ]; then install_pipenv create_virtual_environment @@ -21,4 +23,4 @@ if [ "${INSTALL_SASS}" = "true" ]; then fi # Install application dependencies -source ./script/bootstrap +./script/bootstrap