optimized install docs

This commit is contained in:
b3yond 2017-12-30 01:21:57 +01:00
parent 7a1a857ab4
commit 4aa4846527

View file

@ -19,20 +19,20 @@ First you need to install python and virtualenv with your favourite package mana
Create and activate virtualenv:
```shell
$ sudo apt install python virtualenv
$ virtualenv -p python3 .
$ . bin/activate
sudo apt install python virtualenv
virtualenv -p python3 .
. bin/activate
```
Install the dependencies:
```shell
$ pip install python-twitter pytoml requests Mastodon.py
pip install tweepy pytoml requests Mastodon.py
```
Configure the bot:
```shell
$ cp ticketfrei.cfg.example ticketfrei.cfg
$ vim ticketfrei.cfg
cp ticketfrei.cfg.example ticketfrei.cfg
vim ticketfrei.cfg
```
Edit the account credentials, so your bot can use your accounts.