comparison 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
comparison
equal deleted inserted replaced
354:5ac923264129 355:56382cb104dd
1 # Required: generate with `bundle exec secret` 1 # Required: generate with `bundle exec secret`
2 # 2 #
3 # CONFIG['secret_key'] = 'FILL_IN_HERE' 3 # CONFIG['secret_key'] = 'FILL_IN_HERE'
4 # Or set environment variable ZP_SECRET_KEY
4 5
5 # Set to false if you want to use different web server (e.g. passenger) 6 # Set to false if you want to use different web server (e.g. passenger)
6 # Default is set to use standalone server: 7 # Default is set to use standalone server:
7 # - MRI Ruby: Unicorn 8 # - MRI Ruby: Unicorn
8 # - JRuby and Rubinius: Puma 9 # - JRuby and Rubinius: Puma
10 11
11 # Set to true to use newrelic monitoring. 12 # Set to true to use newrelic monitoring.
12 # Don't forget to put your newrelic.yml in config directory. 13 # Don't forget to put your newrelic.yml in config directory.
13 # Default: false 14 # Default: false
14 # CONFIG['newrelic'] = false 15 # CONFIG['newrelic'] = false
16 # Or set environment variable ZP_NEWRELIC to 1
17 #
18
19 # If you want to deploy with just environment variable, also set ZP_DATABASE_URL or DATABASE_URL.