From b4002d94791a459934d4b10387c6c53d751fcb2d Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Thu, 10 Oct 2024 08:42:56 +1030 Subject: [PATCH] update readme --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 70c8777..3929494 100644 --- 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 -- 2.39.5