lib/envied/templates/Envfile.tt in envied-0.9.3 vs lib/envied/templates/Envfile.tt in envied-0.10.0.alpha1
- old
+ new
@@ -1,8 +1,10 @@
-# A sample Envfile
-# enable_defaults! { ENV['RACK_ENV'] != 'production' }
+#
+# Allow ENV['FOO_<key_alias>'] to provide for ENVied.FOO (with ENV['FOO']
+# as fallback).
+# key_alias! { Rails.env }
-# variable :REDIS_URL, :string, default: 'redis://localhost:6379'
+# variable :REDIS_URL, :string
#
# group :production do
# variable :SECRET_KEY_BASE
# end