Updated README.md
Fixed run command. Added info about other environment variables that can be set.
This commit is contained in:
parent
3ca4aa1131
commit
d7a68d27f6
|
@ -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. `<argument>` indicates a required argument. `[argument]` indicates an optional argument.
|
||||
|
|
Loading…
Reference in New Issue