]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
update readme
authorAidan Cornelius-Bell <[email protected]>
Wed, 9 Oct 2024 22:12:56 +0000 (08:42 +1030)
committerAidan Cornelius-Bell <[email protected]>
Wed, 9 Oct 2024 22:12:56 +0000 (08:42 +1030)
README.md

index 70c87777bd2ca399e46ac85bc2fe3104a8f62956..392949474b88eb1267cdba0b301e0529e3f81678 100644 (file)
--- a/README.md
+++ b/README.md
@@ -37,7 +37,20 @@ Arelpe is a Ruby on Rails application that provides a RESTful API for managing b
    rails db:migrate
    ```
 
-4. Start the Rails server:
+4. Set up encryption
+  ```
+  rails db:encryption:init
+  EDITOR="nano" rails credentials:edit
+  ```  
+
+5. Set up TOTP codes (maybe needed in PROD)
+  ```
+  rails generate migration AddConsumedTimestepToUsers consumed_timestep:integer
+  RAILS_ENV=production rails db:migrate
+  ```
+
+
+5. Start the Rails server:
    ```
    rails server
    ```
@@ -46,14 +59,6 @@ Arelpe is a Ruby on Rails application that provides a RESTful API for managing b
 
 Please refer to the [API Documentation](API_DOCUMENTATION.md) for detailed information on how to use the API.
 
-## Testing
-
-To run the test suite:
-
-```
-rails test
-```
-
 ## Contributing
 
 1. Fork the repository