Be more specific on environment variables
This commit is contained in:
parent
106db0dc23
commit
3a1b4cdc46
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user