README.md 551 Bytes
Newer Older
Danial Behzadi's avatar
Danial Behzadi committed
1
2
3
4
5
6
7
8
This is a project to automatically send messages in a Telegram channel as a Mastodon toot.

Install
=======
To make it work, do the following:

    $ git clone https://gitlab.com/danialbehzadi/tgchannel2toot.git
    $ cd tgchannel2toot
Danial Behzadi's avatar
Danial Behzadi committed
9
    $ python3 -m venv .env
Danial Behzadi's avatar
Danial Behzadi committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    $ source .env/bin/activate
    (.env)$ pip3 install -r requirements.txt

Config
======
Make a copy of each config file:

    (.env)$ cp config.ini.temp config.ini
    (.env)$ cp config.py.temp config.py

Fill out config files.

Run
===
To run the bot do as following:

    $ ./run.sh