updated to use FEISTY_MEOW_SCAN_REPOS variable instead
[feisty_meow.git] / scripts / site_avenger / config / default.app
1 #!/bin/bash
2
3 # provides the default values for the variables used in our site management scripts.
4
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.
9
10 ####
11
12 # basic information that is constant for all site avenger sites.
13
14 # the top level of the user's application storage.
15 if [ -z "$BASE_APPLICATION_PATH" ]; then
16   export BASE_APPLICATION_PATH="$FEISTY_MEOW_SCAN_REPOS"
17 #hmmm: fix for multivalue usage!
18 fi
19 # where the code should come from.
20 if [ -z "$DEFAULT_REPOSITORY_ROOT" ]; then
21   export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth"
22 fi
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"
28 fi
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"
33 fi
34
35 ####
36
37 #hmmm: below does not have any protection to avoid overriding existing values, like above does.  do we need more?
38
39 # constants within our cakelampvm machine.
40
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"
51
52 ####
53
54 # deployment information for the application / site.
55
56 export APPLICATION_NAME="${app_dirname}"
57
58 echo "$(date_stringer): app name was computed as $APPLICATION_NAME" >> "$SSM_LOG_FILE"
59
60 # change this if the site is on the "real" internet.
61 export DOMAIN_NAME="${app_dirname}.vm"
62
63 echo "$(date_stringer): domain name was computed as $DOMAIN_NAME" >> "$SSM_LOG_FILE"
64
65 export REPO_NAME="${app_dirname}"
66
67 echo "$(date_stringer): repo name was computed as $REPO_NAME" >> "$SSM_LOG_FILE"
68
69 export THEME_NAME="$(capitalize_first_char "${app_dirname}")"
70
71 echo "$(date_stringer): theme name was computed as $THEME_NAME" >> "$SSM_LOG_FILE"
72
73 ####
74