]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Tweaks to readme re encryption changes
authorAidan Cornelius-Bell <[email protected]>
Mon, 13 Jan 2025 01:45:05 +0000 (12:15 +1030)
committerAidan Cornelius-Bell <[email protected]>
Mon, 13 Jan 2025 01:45:05 +0000 (12:15 +1030)
README.md

index 985bab906cba68c5dfda326110f976f4ed96e9c1..2a3354e1f4615993f366aa77aed7325a4aa3d3e0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -40,8 +40,9 @@ Arelpe is a Ruby on Rails application that provides a RESTful API for managing b
 4. Set up encryption
    ```
    rails db:encryption:init
-   EDITOR="nano" rails credentials:edit
-   ```  
+   EDITOR="nano" rails credentials:edit --environment production
+   ```
+   Needed in Prod else errors will occur. Two envs for encryption -- dev and prod will be different keys.
 
 5. Set up TOTP codes (this fixup often needed)
    ```