annotate config/local_config.rb.example @ 377:4e6afc8140fb

Use Time.zone as per rubocop recommendation.
author nanaya <me@myconan.net>
date Sat, 06 Jun 2015 22:35:21 +0900
parents 56382cb104dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
199
ea90c0a58b40 Add back the secret_token because of :reasons:
Edho Arief <edho@myconan.net>
parents: 156
diff changeset
1 # Required: generate with `bundle exec secret`
ea90c0a58b40 Add back the secret_token because of :reasons:
Edho Arief <edho@myconan.net>
parents: 156
diff changeset
2 #
206
b14c688e1595 Whoops, turned out to be secret_key_base for 4.0.
Edho Arief <edho@myconan.net>
parents: 199
diff changeset
3 # CONFIG['secret_key'] = 'FILL_IN_HERE'
355
56382cb104dd Add support for environment variable-based deployment.
edogawaconan <me@myconan.net>
parents: 206
diff changeset
4 # Or set environment variable ZP_SECRET_KEY
199
ea90c0a58b40 Add back the secret_token because of :reasons:
Edho Arief <edho@myconan.net>
parents: 156
diff changeset
5
147
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 # Set to false if you want to use different web server (e.g. passenger)
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 # Default is set to use standalone server:
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 # - MRI Ruby: Unicorn
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 # - JRuby and Rubinius: Puma
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 # CONFIG['standalone'] = true
156
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
11
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
12 # Set to true to use newrelic monitoring.
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
13 # Don't forget to put your newrelic.yml in config directory.
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
14 # Default: false
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
15 # CONFIG['newrelic'] = false
355
56382cb104dd Add support for environment variable-based deployment.
edogawaconan <me@myconan.net>
parents: 206
diff changeset
16 # Or set environment variable ZP_NEWRELIC to 1
56382cb104dd Add support for environment variable-based deployment.
edogawaconan <me@myconan.net>
parents: 206
diff changeset
17 #
56382cb104dd Add support for environment variable-based deployment.
edogawaconan <me@myconan.net>
parents: 206
diff changeset
18
56382cb104dd Add support for environment variable-based deployment.
edogawaconan <me@myconan.net>
parents: 206
diff changeset
19 # If you want to deploy with just environment variable, also set ZP_DATABASE_URL or DATABASE_URL.