3 # provides the default values for the variables used in our site management scripts.
5 # config files for site avenger apps usually override nothing, since we
6 # auto-construct the app name and domain.
7 # if they do need to override anything, they can just specify replacement
8 # values for the variables in this file.
12 # basic information that is constant for all site avenger sites.
14 # the top level of the user's application storage.
15 if [ -z "$BASE_APPLICATION_PATH" ]; then
16 export BASE_APPLICATION_PATH="$FEISTY_MEOW_REPOS_SCAN"
17 #hmmm: fix for multivalue usage!
19 # where the code should come from.
20 if [ -z "$DEFAULT_REPOSITORY_ROOT" ]; then
21 export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth"
23 # we checkout the git repository to a directory underneath the app storage
24 # directory named this (see below for "this"), if that directory name is found.
25 # this is a saco designs infrastructure standard.
26 if [ -z "$CHECKOUT_DIR_NAME" ]; then
27 export CHECKOUT_DIR_NAME="avenger5"
29 # the subfolder that the web browser will look for the site in,
30 # underneath the application's specific path.
31 if [ -z "$STORAGE_SUFFIX" ]; then
32 export STORAGE_SUFFIX="/public"
37 #hmmm: below does not have any protection to avoid overriding existing values, like above does. do we need more?
39 # constants within our cakelampvm machine.
41 # in our scheme, the single IP address that all our domains map to.
42 export IP_ADDRESS="10.28.42.20"
43 # the email address (where first dot is replaced by @) for the administrator of the domain.
44 export SERVER_ADMIN="developer.cakelampvm.com"
45 # the name of the name server for the new domains (should already be configured).
46 export MAIN_NAME_SERVER="ns.cakelampvm.com"
47 # the name of the mail server for a new domain (should already be configured).
48 export MAIL_SERVER="mail.cakelampvm.com"
49 # the distribution name to be listed in info for the new domain or subdomain.
50 export DISTRO="ubuntu"
54 # deployment information for the application / site.
56 export APPLICATION_NAME="${app_dirname}"
58 echo "$(date_stringer): app name was computed as $APPLICATION_NAME" >> "$SSM_LOG_FILE"
60 # change this if the site is on the "real" internet.
61 export DOMAIN_NAME="${app_dirname}.vm"
63 echo "$(date_stringer): domain name was computed as $DOMAIN_NAME" >> "$SSM_LOG_FILE"
65 export REPO_NAME="${app_dirname}"
67 echo "$(date_stringer): repo name was computed as $REPO_NAME" >> "$SSM_LOG_FILE"
69 export THEME_NAME="$(capitalize_first_char "${app_dirname}")"
71 echo "$(date_stringer): theme name was computed as $THEME_NAME" >> "$SSM_LOG_FILE"