Merge pull request #49596 from frenkel/fix/credentials-server-doc
Fix documentation for credentails server start command
This commit is contained in:
commit
d5aeb51beb
@ -26,7 +26,7 @@ Setup:
|
||||
is easier to manage. You could set `RAILS_MASTER_KEY` in a deployment
|
||||
configuration, or you could prepend it to your server's start command like so:
|
||||
|
||||
RAILS_MASTER_KEY="very-secret-and-secure" server.start
|
||||
RAILS_MASTER_KEY="very-secret-and-secure" bin/rails server
|
||||
|
||||
If `ENV["RAILS_MASTER_KEY"]` is present, it takes precedence over
|
||||
`config/master.key`.
|
||||
|
@ -27,7 +27,7 @@ Setup:
|
||||
|
||||
You could prepend that to your server's start command like this:
|
||||
|
||||
RAILS_MASTER_KEY="im-the-master-now-hahaha" server.start
|
||||
RAILS_MASTER_KEY="im-the-master-now-hahaha" bin/rails server
|
||||
|
||||
The `config/secrets.yml.enc` has much the same format as `config/secrets.yml`:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user