From f61f41ad73121b67b64ce70839be02c8b22bdb18 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 11 Jan 2023 17:28:18 +0100 Subject: [PATCH] Document app console --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ec95e81f..95a2fa19 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,10 @@ database: storage/production.sqlite3 Current version: 20221231233303 ``` +### Running a Rails console on the primary host + +If you need to interact with the production console for the app, you can use `rake mrsk:app:console`, which will start a Rails console session on the primary host. Be mindful that this is a live wire! Any changes made to the production database will take effect immeditately. + ### Inspecting You can see the state of your servers by running `rake mrsk:info`. It'll show something like this: