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 ```shell
$ sudo apt install python virtualenv $ sudo apt install python virtualenv
$ virtualenv -p python2 . $ virtualenv -p python3 .
$ . bin/activate $ . 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 sudo apt-get install screen
echo "if [ -z "$STY" ]; then screen -RR; fi" >> ~/.bash_login echo "if [ -z "$STY" ]; then screen -RR; fi" >> ~/.bash_login
screen screen
python ticketfrei.py python3 ticketfrei.py
``` ```
To log out of the screen session, press "ctrl+a", and then "d". To log out of the screen session, press "ctrl+a", and then "d".