From d7a68d27f6cd9eacb444cfc705a57ed08d8e1f21 Mon Sep 17 00:00:00 2001 From: Vegard Berg Date: Sun, 14 Aug 2022 00:14:08 +0200 Subject: [PATCH] Updated README.md Fixed run command. Added info about other environment variables that can be set. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20c0a2a..b19beff 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ The rewritten version of Heimdallr supports multiple servers, and it should be e # Running Install Heimdallr's dependencies with Poetry (`poetry install`) -From the current directory, run `poetry run Heimdallr.py`. -**NB:** The environment variable `DISCORD_TOKEN` must be set to a working bot token. +From the current directory, run `poetry run python Heimdallr.py`. +**NB:** The environment variable `DISCORD_TOKEN` must be set to a working bot token. +The environment variable `HEIMDALLR_LOGLEVEL` can be set to one of `critical`, `error`, `warning`, `info`, or `debug` to display appropriate log output. +If using PostgreSQL instead of SQLite, you can pass a connection URL to `HEIMDALLR_POSTGRES_URL`. Note that this is as of yet untested and may not work as intended. # Commands `Monospaced` text indicates command usage. `` indicates a required argument. `[argument]` indicates an optional argument.