X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fconfig%2Fdefault.app;h=a7b9e90982241e8b1433fb38c6d3d29ae35e7f95;hb=fa564b855635d564db3b45a813e8900b095b876a;hp=65e782d7b02664a3a08cf7cbf340d564b0a680e7;hpb=c53d13827ddead7cdc1c959890829296a0e7f0f4;p=feisty_meow.git diff --git a/scripts/site_avenger/config/default.app b/scripts/site_avenger/config/default.app index 65e782d7..a7b9e909 100644 --- a/scripts/site_avenger/config/default.app +++ b/scripts/site_avenger/config/default.app @@ -1,42 +1,38 @@ #!/bin/bash -# this config file provides the default values for the variables used in our site management scripts. +# provides the default values for the variables used in our site management scripts. + +# config files for site avenger apps usually override nothing, since we +# auto-construct the app name and domain. +# if they do need to override anything, they can just specify replacement +# values for the variables in this file. #### # 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" - -#### - -# config files for site avenger apps usually override nothing, since we -# auto-construct the app name and domain. but if they do need to override -# anything, it will be below this point in the file. -# the derived config file should include the basic configs like so: -# -# source "$WORKDIR/config/default.app" +export APPLICATION_DIR="$HOME/apps" +export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth" +export 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}" echo repo name was computed as $REPO_NAME -THEME_NAME="$(capitalize_first_char "${app_dirname}.git")" +export THEME_NAME="$(capitalize_first_char "${app_dirname}")" echo theme name was computed as $THEME_NAME