X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fconfig%2Fdefault.app;h=46dbd3a76da5e16e975650c6e127a1f8b441673b;hb=bf865883121e36604f3bf2dcf2638adb3b8b0423;hp=9e74f0a6e8307a31b58b002d38041a16265e182b;hpb=5c0de3a39b1c7e2d127c1441e97e9134a84e5dd8;p=feisty_meow.git diff --git a/scripts/site_avenger/config/default.app b/scripts/site_avenger/config/default.app index 9e74f0a6..46dbd3a7 100644 --- a/scripts/site_avenger/config/default.app +++ b/scripts/site_avenger/config/default.app @@ -12,18 +12,29 @@ # basic information that is constant for all site avenger sites. # the top level of the user's application storage. -export BASE_APPLICATION_PATH="$HOME/apps" +if [ -z "$BASE_APPLICATION_PATH" ]; then + export BASE_APPLICATION_PATH="$HOME/apps" +fi # where the code should come from. -export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth" -# we checkout the git repository to a directory underneath the -# app storage directory named this: -export CHECKOUT_DIR_NAME="avenger5" +if [ -z "$DEFAULT_REPOSITORY_ROOT" ]; then + export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth" +fi +# we checkout the git repository to a directory underneath the app storage +# directory named this (see below for "this"), if that directory name is found. +# this is a saco designs infrastructure standard. +if [ -z "$CHECKOUT_DIR_NAME" ]; then + export CHECKOUT_DIR_NAME="avenger5" +fi # the subfolder that the web browser will look for the site in, # underneath the application's specific path. -export STORAGE_SUFFIX="/public" +if [ -z "$STORAGE_SUFFIX" ]; then + export STORAGE_SUFFIX="/public" +fi #### +#hmmm: below does not have any protection to avoid overriding existing values, like above does. do we need more? + # constants within our cakelampvm machine. # in our scheme, the single IP address that all our domains map to.