2020-06-03 01:10:47 +02: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
### Operating systems
-----
### Arch Linux
```shell script
2020-06-05 22:43:59 +02:00
sudo pacman -Syu python python-pip python-virtualenv git
2020-06-03 01:10:47 +02:00
```
2020-06-03 01:12:19 +02:00
Continue by [creating virtual env ](#creating-a-virtual-env ).
2020-06-03 01:10:47 +02:00
-----
2020-06-05 22:43:59 +02:00
#### Debian
2020-06-03 01:10:47 +02:00
```shell script
sudo apt update
2020-06-05 22:43:59 +02:00
sudo apt -y install python3 python3-dev python3-pip python3-venv git
2020-06-03 01:10:47 +02:00
```
2020-06-03 01:12:19 +02:00
Continue by [creating virtual env ](#creating-a-virtual-env ).
2020-06-03 01:10:47 +02:00
2020-06-05 22:43:59 +02:00
-----
#### Windows
*go to hell*
2020-06-03 01:10:47 +02: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
2020-06-04 00:14:50 +02:00
pip install .
2020-06-03 01:10:47 +02:00
```
## Configuration
2020-06-05 22:43:59 +02:00
It's time to set up your first instance, to do this, sou can simply execute this command:
```shell script
tuxbot-setup [your instance name]
```
After following the instructions, you can run your instance by executing this command:
```shell script
tuxbot [your instance name]
```
## Update
*todo*