diff --git a/boilerplate/config.py b/boilerplate/config.py
index 3b1d009c..ad9f083d 100755
--- a/boilerplate/config.py
+++ b/boilerplate/config.py
@@ -69,7 +69,7 @@
'captcha_private_key': "PUT_YOUR_RECAPCHA_PRIVATE_KEY_HERE",
# Use a complete Google Analytics code, no just the Tracking ID
- # In config/localhost.py there is an example to fill out this value
+ # In config/boilerplate.py there is an example to fill out this value
'google_analytics_code': "",
# add status codes and templates used to catch and display errors
diff --git a/config/__init__.py b/config/__init__.py
index d22208e0..3f2a7a72 100644
--- a/config/__init__.py
+++ b/config/__init__.py
@@ -5,11 +5,17 @@
import os
-if "SERVER_SOFTWARE" in os.environ:
+if os.environ['HTTP_HOST'] == "appengine.beecoss.com":
+ # Load Boilerplate config only in http://appengine.beecoss.com
+ # this code is here just for testing purposes
+ from config.boilerplate import config
+elif "SERVER_SOFTWARE" in os.environ:
if os.environ['SERVER_SOFTWARE'].startswith('Dev'):
from config.localhost import config
elif os.environ['SERVER_SOFTWARE'].startswith('Google'):
from config.production import config
+ else:
+ raise ValueError("Environment undetected")
else:
from config.testing import config
\ No newline at end of file
diff --git a/config/boilerplate.py b/config/boilerplate.py
new file mode 100644
index 00000000..f381a14b
--- /dev/null
+++ b/config/boilerplate.py
@@ -0,0 +1,38 @@
+config = {
+
+# This config file is used only in appengine.beecoss.com (Sample website)
+# Don't use values defined here
+'environment': "boilerplate",
+
+# contact page email settings
+'contact_sender': "appengine@beecoss.com",
+'contact_recipient': "appengine@beecoss.com",
+
+'captcha_public_key': "6Lednu0SAAAAAKPyxzxIljKc3po4Fz7lmLsn5s3T",
+'captcha_private_key': "6Lednu0SAAAAAGkiiVKmkLvpGT1a-sCkaKf-E4xb",
+
+'send_mail_developer': True,
+
+# fellas' list
+'developers': (
+ ('GAE Developer', 'gae-developer2014@beecoss.com'),
+),
+
+# It is just an example to fill out this value
+'google_analytics_code': """
+
+ """
+
+# ----> ADD MORE CONFIGURATION OPTIONS HERE <----
+
+}
\ No newline at end of file
diff --git a/config/localhost.py b/config/localhost.py
index d8435cc1..3adf99d5 100644
--- a/config/localhost.py
+++ b/config/localhost.py
@@ -1,23 +1,8 @@
config = {
-# environment this app is running on: localhost, testing, production
+# This config file will be detected in localhost environment and values defined here will overwrite those in config.py
'environment': "localhost",
-# It is just an example to fill out this value
-'google_analytics_code': """
-
- """
-
# ----> ADD MORE CONFIGURATION OPTIONS HERE <----
}
\ No newline at end of file
diff --git a/config/production.py b/config/production.py
index efaf2c0e..068a3c65 100644
--- a/config/production.py
+++ b/config/production.py
@@ -1,6 +1,6 @@
config = {
-# environment this app is running on: localhost, testing, production
+# This config file will be detected in production environment and values defined here will overwrite those in config.py
'environment': "production",
# ----> ADD MORE CONFIGURATION OPTIONS HERE <----
diff --git a/config/testing.py b/config/testing.py
index 340c2f61..debd9dfe 100644
--- a/config/testing.py
+++ b/config/testing.py
@@ -1,6 +1,6 @@
config = {
-# environment this app is running on: localhost, testing, production
+# This config file will be detected in unit testing environment and values defined here will overwrite those in config.py
'environment': "testing",
# ----> ADD MORE CONFIGURATION OPTIONS HERE <----
diff --git a/locale/es_ES/LC_MESSAGES/messages.po b/locale/es_ES/LC_MESSAGES/messages.po
index 3ed3a105..4fa24b0e 100644
--- a/locale/es_ES/LC_MESSAGES/messages.po
+++ b/locale/es_ES/LC_MESSAGES/messages.po
@@ -10,7 +10,7 @@ msgstr ""
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2013-11-13 00:56+0100\n"
"PO-Revision-Date: 2012-06-21 01:50-0400\n"
-"Last-Translator: Coto Augosto \n"
+"Last-Translator: Coto Augosto <@coto>\n"
"Language-Team: es_ES \n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"