Başlarken¶
Başlamadan önce EFB ile ilgili birkaç basit adım.
EH Forwarder Bot Yükle¶
EH Forwarder Bot aşağıdaki yollarla yüklenebilir:
PyPl’den yükle¶
`` pip``, varsayılan olarak PyPI’den en son kararlı sürümü kuracaktır, ancak PyPI’de geliştirme sürümleri de mevcuttur.
pip3 install ehforwarderbot
GitHub’dan yükle¶
Bu, GitHub’dan en günceli yükleme yapacaktır. Kalıcı olmayabilir, bu yüzden dikkatlice ilerleyin.
pip3 install git+https://github.com/ehForwarderBot/ehforwarderbot.git
Alternative installation methods¶
You can find a list of alternative installation methods contributed by the community in the project wiki.
For scripts, containers (e.g. Docker), etc. that may include one or more external modules, please visit the modules repository.
Not
These alternative installation methods are maintained by the community, please consult their respective author or maintainer for help related to those methods.
A stable internet connection¶
Since the majority of our channels are using polling for message retrieval, a stable internet connection is necessary for channels to run smoothly. An unstable connection may lead to slow response, or loss of messages.
Yerel dizinleri oluştur¶
EFB, *nix kullanıcı yapılandırma stilini kullanır; bu stil ayrıntılı olarak dizinler bölümünde açıklanmıştır. Kısaca, varsayılan yapılandırmayı kullanıyorsanız, ~/.ehforwarderbot
oluşturmanız ve EFB’yi çalıştıran kullanıcıya okuma ve yazma izni vermeniz gerekir.
Modülleri seç, yükle ve etkinleştir¶
Currently, all modules that was submitted to us are recorded in the modules repository. You can choose the channels that fits your need the best.
Her kanalın yüklenmesine ilişkin talimatlar kendi belgelerinde mevcuttur.
Set up with the configuration wizard¶
When you have successfully installed the modules of your choices, you can the use the configuration wizard which guides you to enable channels and middlewares, and continue to setup those modules if they also have provided a similar wizard.
You can start the wizard by running the following command in a compatible console or terminal emulator:
efb-wizard
If you want to start the wizard of a module for a profile individually, run:
efb-wizard -p <profile name> -m <module ID>
Set up manually¶
Alternatively, you can enable those modules manually
it by listing its Channel ID in the configuration file.
The default path is ~/.ehforwarderbot/profiles/default/config.yaml
.
Please refer to Altdizinler if you have configured otherwise.
Aynı zamanda çalışan birden fazla bağımlı kanalınız olduğu halde, tek bir profilde çalışan tek bir ana kanalınız olabilir. Bu arada, orta sınıflar tamamen isteğe bağlıdır.
For example, to enable the following modules:
- Ana Kanal
Demo Master (
foo.demo_master
)
- Bağımlı kanallar
Demo Slave (
foo.demo_slave
)Dummy Slave (
bar.dummy
)
- Özel yazılımlar
Null Middleware (
foo.null
)
config.yaml
should have the following lines:
master_channel: foo.demo_master
slave_channels:
- foo.demo_slave
- bar.dummy
middlewares:
- foo.null
If you have enabled modules manually, you might also need configure each module manually too. Please consult the documentation of each module for instructions.
EFB’yi çalıştır¶
ehforwarderbot
Bu, doğrudan geçerli ortamda EFB’yi başlatacaktır. Varsayılan Profiller den farklı bir profile EFB’yi başlatmak için default
olarak isimlendirilir ve komuta``–profile <profile-name>`` eklenir.
Daha fazla komut satırı seçeneği için, --help
seçeneğini kullanın.
Use EFB in another language¶
EFB supports translated user interface and prompts.
You can set your system language or locale environmental variables
(LANGUAGE
, LC_ALL
, LC_MESSAGES
or LANG
) to one of our
supported languages to switch language.
You can help to translate this project into your languages on our Crowdin page.
Not
If your are installing from source code, you will not get translations
of the user interface without manual compile of message catalogs (.mo
)
prior to installation.
EFB’yi bir daemon işlemi olarak başlat¶
Versiyon 2’den bu yana, EH Forwarder Bot daemonun yardımcısını kullanmakta kararsız olduğu için kaldırıldı. Daemon yönetimi için, systemd, upstart yada pm2 gibi kararlı çözümler kullanmanızı öneririz.