Mercurial > zeropaste
annotate config/config_local_env.rb.example @ 437:d31fe32da7a0
Finish updating to rails 5
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 02 Jul 2016 17:04:25 +0900 |
parents | config/local_config.rb.example@56382cb104dd |
children |
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 # |
437 | 3 # $cfg[: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 |
437 | 10 # $cfg[: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 |
437 | 15 # $cfg[: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. |