9e74f0a6e8307a31b58b002d38041a16265e182b
[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 export BASE_APPLICATION_PATH="$HOME/apps"
16 # where the code should come from.
17 export DEFAULT_REPOSITORY_ROOT="git@github.com:kwentworth"
18 # we checkout the git repository to a directory underneath the
19 # app storage directory named this:
20 export CHECKOUT_DIR_NAME="avenger5"
21 # the subfolder that the web browser will look for the site in,
22 # underneath the application's specific path.
23 export STORAGE_SUFFIX="/public"
24
25 ####
26
27 # constants within our cakelampvm machine.
28
29 # in our scheme, the single IP address that all our domains map to.
30 export IP_ADDRESS="10.28.42.20"
31 # the email address (where first dot is replaced by @) for the administrator of the domain.
32 export SERVER_ADMIN="developer.cakelampvm.com"
33 # the name of the name server for the new domains (should already be configured).
34 export MAIN_NAME_SERVER="ns.cakelampvm.com"
35 # the name of the mail server for a new domain (should already be configured).
36 export MAIL_SERVER="mail.cakelampvm.com"
37 # the distribution name to be listed in info for the new domain or subdomain.
38 export DISTRO="ubuntu"
39
40 ####
41
42 # deployment information for the application / site.
43
44 export APPLICATION_NAME="${app_dirname}"
45
46 echo "$(date_stringer): app name was computed as $APPLICATION_NAME" >> "$SSM_LOG_FILE"
47
48 # change this if the site is on the "real" internet.
49 export DOMAIN_NAME="${app_dirname}.vm"
50
51 echo "$(date_stringer): domain name was computed as $DOMAIN_NAME" >> "$SSM_LOG_FILE"
52
53 export REPO_NAME="${app_dirname}"
54
55 echo "$(date_stringer): repo name was computed as $REPO_NAME" >> "$SSM_LOG_FILE"
56
57 export THEME_NAME="$(capitalize_first_char "${app_dirname}")"
58
59 echo "$(date_stringer): theme name was computed as $THEME_NAME" >> "$SSM_LOG_FILE"
60
61 ####
62