tuxbot-bot/README.md

60 lines
1.3 KiB
Markdown
Raw Normal View History

2020-06-02 23:10:47 +00:00
# Installing Tuxbot
It is preferable to install the bot on a dedicated user. If you don't know how to do it, please refer to [this guide](https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart)
## Installing the pre-requirements
- The pre-requirements are:
- Python 3.7 or greater
- Pip
- Git
2020-06-03 16:24:38 +00:00
- JRE 11 (voice support)
2020-06-02 23:10:47 +00:00
### Operating systems
-----
### Arch Linux
```shell script
sudo pacman -Syu python python-pip git jre11-openjdk-headless base-devel
```
2020-06-02 23:12:19 +00:00
Continue by [creating virtual env](#creating-a-virtual-env).
2020-06-02 23:10:47 +00:00
-----
#### Debian Stretch
```shell script
sudo echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/tuxbot.list
sudo apt update
sudo apt -y install make build-essential python3-openssl git openjdk-11-jre-headless
```
2020-06-02 23:12:19 +00:00
Continue by [creating virtual env](#creating-a-virtual-env).
2020-06-02 23:10:47 +00:00
## Creating a virtual env
Make sure you have the virtualenv package installed before following the next steps.
Create the virtual environment by executing the following command:
```shell script
python3 -m venv ~/tuxvenv
```
And activate it with this command:
```shell script
source ~/tuxvenv/bin/activate
```
## Installing Tuxbot
Now, you can finish the installation by executing this single command:
```shell script
pip install .
2020-06-02 23:10:47 +00:00
```
## Configuration
todo...