Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 947 Bytes

FAQ.rst

File metadata and controls

45 lines (28 loc) · 947 Bytes

FAQ

$ sudo apt install python3-yaml    # Debian/Ubuntu
$ sudo pacman -S python-yaml       # Arch Linux/Manjaro

Alternative:

$ git clone https://github.com/yaml/pyyaml
$ cd pyyaml
$ sudo python setup.py --with-libyaml install

Requirements:

  • cron
  • tmux

Setup example:

  • Run crontab -e
  • Add the following line to the file:
@reboot /bin/sleep 5 && /usr/bin/tmux new-session -ds walbot 'cd <path-to-walbot> && <path-to-python3> walbot.py autoupdate --name "your-bot-instance-name"'
$ docker build -f docker/default.Dockerfile -t walbot .
$ docker run -it walbot /bin/bash