Mercurial > zeropaste
diff config/local_config.rb.example @ 355:56382cb104dd
Add support for environment variable-based deployment.
author | edogawaconan <me@myconan.net> |
---|---|
date | Mon, 04 Aug 2014 17:05:16 +0900 |
parents | b14c688e1595 |
children |
line wrap: on
line diff
--- a/config/local_config.rb.example Thu Jul 03 15:22:24 2014 +0900 +++ b/config/local_config.rb.example Mon Aug 04 17:05:16 2014 +0900 @@ -1,6 +1,7 @@ # Required: generate with `bundle exec secret` # # CONFIG['secret_key'] = 'FILL_IN_HERE' +# Or set environment variable ZP_SECRET_KEY # Set to false if you want to use different web server (e.g. passenger) # Default is set to use standalone server: @@ -12,3 +13,7 @@ # Don't forget to put your newrelic.yml in config directory. # Default: false # CONFIG['newrelic'] = false +# Or set environment variable ZP_NEWRELIC to 1 +# + +# If you want to deploy with just environment variable, also set ZP_DATABASE_URL or DATABASE_URL.