rails-pangu
rails-pangu copied to clipboard
Provide a way to regenerate rails credentails
Currently there is a config/credentials.yml.enc
in the project, new projects forked from this should replace it with a new one for safety, it will be nice to provide a way to regenerate the credentials.
Steps to regenerate manually:
- delete
credentials.yml.enc
- go into docker container, run
rails credentials:edit
-
cat config/master.key
, put the key as docker envRAILS_MASTER_KEY
, and deleteconfig/master.key