# Self-Host Wynter

1. Firstly, clone the latest version of Wynter from <https://github.com/wynterfurrybot/wynter>
2. Once you have cloned Wynter, you will want to install his dependancies. You can do this by opening a terminal / console window and typing **python3 -m pip install -r requirements.txt** which will install everything needed to run Wynter.
3. Next, you will want to create a .env file with the following info:

```
# .env
DISCORD_TOKEN= token
DBHOST= localhost
DBUSER= user
DBPW= password
DB= database
IMGUSR= imgflipusername
IMGPW= imgflippw
```

In the DISCORD\_TOKEN, you put your bot token, and in the DBHOST, DBPW and DB section you put in your database details. We personally use MariaDB for Wynter.

Import the database tables from the github

4\. Finally, to run the bot, you type **python3 index.py**

Enjoy using Wynter!
