Be more specific on environment variables

This commit is contained in:
Michael De Roover 2021-03-16 19:34:49 +01:00
parent 106db0dc23
commit 3a1b4cdc46
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -6,7 +6,7 @@ In terms of functionality it will be not too dissimilar from Konata ([bot](https
#### Credentials
Visit [my.telegram.org](https://my.telegram.org/apps) to get your API ID and API hash values. These should then be passed into the system as environment variables `api_id` and `api_hash` respectively. A good place to put these would be the system's `/etc/environment` file.
Visit [my.telegram.org](https://my.telegram.org/apps) to get your API ID and API hash values. These should then be passed into the system as environment variables `api_id` and `api_hash` respectively. Provided that this bot runs in a container (such as LXC) as the only application in it, a good place to put these would be the system's `/etc/environment` file. Otherwise put them somewhere more specific to the bot (`~/.profile` for a dedicated bot user perhaps).
#### License