Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to regenerate rails credentails #9

Open
zyc9012 opened this issue Aug 3, 2019 · 0 comments
Open

Provide a way to regenerate rails credentails #9

zyc9012 opened this issue Aug 3, 2019 · 0 comments

Comments

@zyc9012
Copy link

zyc9012 commented Aug 3, 2019

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:

  1. delete credentials.yml.enc
  2. go into docker container, run rails credentials:edit
  3. cat config/master.key, put the key as docker env RAILS_MASTER_KEY, and delete config/master.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@zyc9012 and others