-
Notifications
You must be signed in to change notification settings - Fork 21
1. Configuring
Roj edited this page Aug 9, 2022
·
2 revisions
To get your Xor configured, you need to have the following:
- Login to my.telegram.org/apps.
- Create your app.
- Save your app’s ID and hash.
Your app credentials should be put into the variables APP_ID
and APP_HASH
respectively.
Here are several ways to get a string session for your account:
The generated string session should be put into the variable STRING_SESSION
.
Note: You don’t need to care about this if you are running Xor from Heroku.
If you run Xor from a place where the storage is not permanent, we recommend using a database. Xor currently supports MongoDB, PostgreSQL and Redis.
You can get a free cloud database from various providers. Here are some:
After you have your database connection URI, put it into the variable
PLS_CONNECTION_URI
.
© 2022 Xor contributors. Licensed under Creative Commons.