mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 22:15:14 +00:00
make secrets easy gen
This commit is contained in:
parent
1ba47dca1f
commit
01fc60e816
1 changed files with 4 additions and 4 deletions
|
|
@ -24,10 +24,10 @@ DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
|
|||
SAILORS_LOG_DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
|
||||
|
||||
# Generate these with `rails secret` or use these for development
|
||||
SECRET_KEY_BASE=alallalalallalalallalalalladlalllalal
|
||||
ENCRYPTION_PRIMARY_KEY=32characterrandomstring12345678901
|
||||
ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902
|
||||
ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234
|
||||
SECRET_KEY_BASE=alallalalallalalallalalalladlalllalal # rails secret
|
||||
ENCRYPTION_PRIMARY_KEY=32characterrandomstring12345678901 # openssl rand -hex 32
|
||||
ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902 # openssl rand -hex 32
|
||||
ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234 # openssl rand -hex 16
|
||||
```
|
||||
|
||||
Visit <https://hca.dinosaurbbq.org>, log in with an email address, then enable Developer Mode in HCA settings. After that, navigate to the "Developers' Corner" and "app yourself up", specifying a callback URL of `http://localhost:3000/auth/hca/callback` and minimum scopes of `email`, `slack_id`, and `verification_status`.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue