From 08896a6cdd57c04dfe85edf4b158b768c15d5393 Mon Sep 17 00:00:00 2001 From: Daniel Waxweiler Date: Sun, 4 Feb 2024 20:50:29 +0100 Subject: [PATCH] document abra commands for managing secrets and for checking logs (#2703) --- docs/src/self-hosting.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/src/self-hosting.md b/docs/src/self-hosting.md index 03a51f7fa..aedc71af4 100644 --- a/docs/src/self-hosting.md +++ b/docs/src/self-hosting.md @@ -32,8 +32,22 @@ _Note: you might find some rough edges at this time, we are very interested to s - choose your server - choose a domain name that karrot will be deployed under: this is what we refer to as `karrot app name` 2. `abra app config ` see [configuration options](#configuration-options) below -3. `abra app deploy ` -4. Wait for a few minutes while karrot initializes and then you can start creating accounts! +3. Set all the secrets, even the ones you don't want to use: + - `abra app secret list ` for listing all secrets + - `abra app secret insert ""` for inserting a secret + - `abra app secret generate ` for generating a secret +4. `abra app deploy ` +5. Wait for a few minutes while karrot initializes and then you can start creating accounts! + +## Other useful commands + +### Checking the logs +1. `abra app ls` for finding the right app +2. `abra app logs ` for showing the logs + +You can also get the logs for just one service: +1. `abra app ps ` for listing the services +2. `abra app logs ` for showing the logs for that service ## Configuration options