This repository has been archived by the owner on Sep 19, 2019. It is now read-only.
forked from localprojects/Change-By-Us
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rcfile.sample
207 lines (160 loc) · 5.47 KB
/
rcfile.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#------------------------------------------------
# INSTRUCTIONS
#------------------------------------------------
#
# 1. Copy this file to rcfile.<your-name>:
# cp rcfile.sample rcfile.your-name
# 2. Replace all the strings
# 3. Ask an admin for a pre-existing rcfile to start from
# 4. Check that this works by running:
# fab --config=rcfile.your-name create_config_yaml
# This will create config.yaml in the current directory,
# which can then be used by the fabfile for all other tasks
#
# fab --config=rcfile.sundar_dev dev bundle_code deploy_webapp_and_configs
#
#------------------------------------------------
# COMMON TARGET SETTINGS
# These are necessary for every deployment target
# NOTE: Do NOT use quotes around these parameters!!!
#------------------------------------------------
application = gam2
# We need at least a specific python version
python = python2.6
# the user to run sudo() as, since this account probably has higher rights
sudo_as = ubuntu
# settings defines the environment that we're in. Usually this is the extension
# eg. demo, dev, prod, live, etc.
settings = demo
# Repository Information
scm = git
repository = [email protected]:lp-changebyus.git
# Branch to deploy
branch = develop
# Logging
logfile = %(log_path)s/%(application)s.log
#------------------------------------------------
# LOCAL (user-specific) Parameters
#------------------------------------------------
# User's Development environment (local)
build_path = /tmp/%(application)s/releases
# local_path = ~/Projects/LP/%(application)s
#------------------------------------------------
# CHANGEBYUS User Parameters
#------------------------------------------------
# The user context under which the application runs
user = giveaminute
deploy_to = /home/%(user)s/www
# Hosts that this environment deploys to (comma-delimited list). This is the same
# list that will be used by ROLES
hosts = demo-nyc.changeby.us
# Connection to remote hosts should be via key-pair, rather than password
key_filename = ~/.ssh/localprojects/gam2.pem
# Base Path for scripts to put their temporary content to:
script_working_path = /mnt/%(application)s/var
#-----------/common -----------------------------
#------------------------------------------------
# LIGHTTPD Configurations
#------------------------------------------------
webserver = lighttpd
webserver_port = 8080
webserver_user = %(user)s
webserver_group = developers
# The value to use for server.name in lighttpd
webserver_name = dev-nyc.changeby.us
# Port to use for SSL. Configurable to allow for testing
webserver_sslport = 443
webserver_docroot = %(current_path)s
#---- /lighttpd configuration -------------------
#------------------------------------------------
# CHANGE-BY-US APPLICATION Configurations
#------------------------------------------------
appmode = not-beta
dev = Yes
app_env = dev
# Instance is either ChangeByUs-dev or ChangeByUs-Live
instance = ChangeByUs-dev
# htaccess -- Yes or no. Is the site behind htaccess.
htaccess = No
default_host = http://localhost:8080/
blog_host = http://dev-nycblog.changeby.us/
# Database stuff
database_db = gam2
database_user = gam
database_password = 'gam'
database_host = 127.0.0.1
database_test = gam2_test
# Email configurations
email_from_noreplies_email = [email protected]
email_from_noreplies_name = 'Do Not Reply, Change By Us NYC'
email_smtp_host = localhost
email_smtp_port = 25
email_smtp_username = '[email protected]'
email_smtp_password = XXXXXXXXXX
email_common_domain = xxxxx.changeby.us
email_from_email = [email protected]
email_from_name = 'Change By Us XXXXX'
# Digest configuratiosn
digest_log_file = %(log_path)s/digests.log
digest_log_level = debug
# Comma-delimited (without-spaces) names of all recipients of debug messages
digest_debug_recipients = [email protected],[email protected]
digest_subject_prefix = '[CBU Digest]'
# Homepage and leaderboard configurations
homepage_num_featured_projects = 6
homepage_num_recent_ideas = 125
homepage_is_display_featured_projects = True
homepage_is_display_leaderboard = False
homepage_question = ''
homepage_who_is_listening = No
homepage_news = No
# Following are default values
homepage_postboard_bg = /static/images/bg_home_wider.jpg
homepage_top_left_tag_bg = /static/images/button_heyNYC_old.png
homepage_photo_credit = ''
# Site Settings
site_name = 'Change by Us NYC'
site_city = NYC
site_city_id = nyc
site_full_city = 'New York City'
# Map settings
center_lat = 0
center_lon = 0
# Language settings
# Nothing yet
# Features settings
feature_is_display_leaderboard = True
feature_is_display_featured_projects = True
features_is_official_supported = True
feature_is_feedback_form_available = True
feature_is_community_leaders_displayed = True
feature_is_show_beta_splash = True
# AWS Credentials
aws_secret_access_key = XXXXXXXXXX
aws_access_key_id = XXXXXXXXXX
# S3 configs
s3_bucket = xxxxxxxxxx
# Twilio Credentials
twilio_sid = XXXXXXXXXX
twilio_token = XXXXXXXXXX
twilio_api = 2010-04-01
twilio_phone = XXXXXXXXXX
# Facebook credentials
facebook_app_id = XXXXXXXXXX
# Twitter credentials
twitter_consumer_key = XXXXXXXXXX
twitter_consumer_secret = XXXXXXXXXX
# Get Satisfaction credentials
getsatisfaction_company = 'Change by Us NYC'
getsatisfaction_product = xxxxxxxxxx
# Typekit settings
typekit_key = xxxxxxxxxx
# Google analytics settings
google_analytics_key = xxxxxxxxxx
# Blitz settings
blitz_io_route = xxxxxxxxxx
blitz_io_response = xxxxxxxxxx
# Media
media_root = XXXXXXXXXX
# Static Files
staticfiles_root = XXXXXXXXX