From: Chris Koeritz Date: Mon, 13 Nov 2017 02:06:53 +0000 (-0500) Subject: mods from cakelampvm X-Git-Tag: 2.140.98^2~2^2~11 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=a5d77db4a9c1e15ef835977abe1a5f71fc93c7fd;p=feisty_meow.git mods from cakelampvm need to work locally to make this go faster. --- diff --git a/scripts/site_avenger/config/default.app b/scripts/site_avenger/config/default.app index 65e782d7..2514ddf5 100644 --- a/scripts/site_avenger/config/default.app +++ b/scripts/site_avenger/config/default.app @@ -6,9 +6,9 @@ # basic information that is constant for all site avenger sites. -APPLICATION_DIR="$HOME/apps" -DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth" -CHECKOUT_DIR_NAME="avenger5" +export APPLICATION_DIR="$HOME/apps" +export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth" +export CHECKOUT_DIR_NAME="avenger5" #### @@ -23,20 +23,20 @@ CHECKOUT_DIR_NAME="avenger5" # deployment information for the application / site. -APPLICATION_NAME="${app_dirname}" +export APPLICATION_NAME="${app_dirname}" echo app name was computed as $APPLICATION_NAME # change this if the site is on the "real" internet. -DOMAIN_NAME="${app_dirname}.vm" +export DOMAIN_NAME="${app_dirname}.vm" echo domain name was computed as $DOMAIN_NAME -REPO_NAME="${app_dirname}.git" +export REPO_NAME="${app_dirname}.git" echo repo name was computed as $REPO_NAME -THEME_NAME="$(capitalize_first_char "${app_dirname}.git")" +export THEME_NAME="$(capitalize_first_char "${app_dirname}.git")" echo theme name was computed as $THEME_NAME diff --git a/scripts/site_avenger/powerup.sh b/scripts/site_avenger/powerup.sh index 998fcad5..433b4a1e 100644 --- a/scripts/site_avenger/powerup.sh +++ b/scripts/site_avenger/powerup.sh @@ -80,6 +80,9 @@ echo "Repository: $repo_name" echo "Theme name: $theme_name" sep +echo in powerup before update repo with: +var CHECKOUT_DIR_NAME DEFAULT_REPOSITORY_ROOT + # this should set the site_store_path variable if everything goes well. update_repo "$full_app_dir" "$CHECKOUT_DIR_NAME" "$DEFAULT_REPOSITORY_ROOT" "$repo_name" test_or_die "Updating the repository storage directory" diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index 56684b9c..d4beffe0 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -76,6 +76,9 @@ test_or_die "Setting up apache site for: $APPLICATION_NAME" sep +echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME" +echo default repo is "$DEFAULT_REPOSITORY_ROOT" + powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" sep diff --git a/scripts/system/add_domain.sh b/scripts/system/add_domain.sh index 3c9df992..48d5495c 100644 --- a/scripts/system/add_domain.sh +++ b/scripts/system/add_domain.sh @@ -9,12 +9,13 @@ # Author: Chris Koeritz # some defaults that are convenient for current purposes. -# hmmm: these would need to be parameterized somehow for this script to become really general. + +# hmmm: !!! these would need to be parameterized somehow for this script to become really general. # in our scheme, the single IP address that all our domains map to. IP_ADDRESS="10.28.42.20" # the email address (where first dot is replaced by @) for the administrator of the domain. -SERVER_ADMIN="fred.cakelampvm.com" +SERVER_ADMIN="developer.cakelampvm.com" # the name of the name server for the new domains (should already be configured). MAIN_NAME_SERVER="ns.cakelampvm.com" # the name of the mail server for a new domain (should already be configured).