templates/rails_app/.env.example.development.tt in railman-0.2.0 vs templates/rails_app/.env.example.development.tt in railman-0.3.0
- old
+ new
@@ -1,11 +1,11 @@
# Put server-specific environment variables here
# .env is loaded by the dotenv gem on startup
# Don't commit this file to Git !!! Copy from .env.example.development and modify for each machine
# Application settings
-APP_NAME = '<%= app_name %>'
+APP_NAME = '<%= @config.app_name %>'
# Database settings
DB_USER = 'user'
DB_PASSWORD = 'password'
@@ -14,15 +14,15 @@
# Session secret - generate with: rake secret
SECRET_TOKEN = '<%= @rake_secret %>'
# Where to send exceptions and other admin emails
-ADMIN_EMAIL = '<%= @admin_email %>'
+ADMIN_EMAIL = '<%= @config.admin_email %>'
# Exception notification settings
-EXCEPTION_NOTIFICATION_EMAIL_PREFIX = '[<%= @class_name %>] '
-EXCEPTION_NOTIFICATION_SENDER = 'server@<%= @domain %>'
+EXCEPTION_NOTIFICATION_EMAIL_PREFIX = '[<%= @config.class_name %>] '
+EXCEPTION_NOTIFICATION_SENDER = 'server@<%= @config.domain %>'
# Unicorn settings
UNICORN_BEHIND_NGINX = <%= @unicorn_behind_nginx %>
# UNICORN_PORT = 3000