Mercurial > zeropaste
view 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 source
# 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: # - MRI Ruby: Unicorn # - JRuby and Rubinius: Puma # CONFIG['standalone'] = true # Set to true to use newrelic monitoring. # 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.