added documentation -> python3 #7

This commit is contained in:
b3yond 2017-12-30 01:17:13 +01:00
parent cbf16b8f74
commit 7a1a857ab4

View file

@ -20,7 +20,7 @@ Create and activate virtualenv:
```shell
$ sudo apt install python virtualenv
$ virtualenv -p python2 .
$ virtualenv -p python3 .
$ . bin/activate
```
@ -52,7 +52,7 @@ To keep the bots running when you are logged out of the shell, you can use scree
sudo apt-get install screen
echo "if [ -z "$STY" ]; then screen -RR; fi" >> ~/.bash_login
screen
python ticketfrei.py
python3 ticketfrei.py
```
To log out of the screen session, press "ctrl+a", and then "d".
@ -81,4 +81,4 @@ Desktop/pycharm-community-2017.1.4/bin/pycharm.sh
- [x] put shutdown contact in ticketfrei.cfg
- [x] document what you have to configure if you setup the bot in another city
- [ ] write a script to setup the bot easily. ask the admin for the necessary information
- [ ] ongoing: solve issues
- [ ] ongoing: solve issues