SophieBot can be ran in 2 ways.
Using Docker is always recommended, as its setup is automated, and needs a very little knowledge of Linux or Command Line. You also gain an advantage of isolating your server from the Sophie Bot.
You need to configure this bot a bit before it can be used, don't worry, its easy!
- Install git, python 3.7+ and docker(for docker method) from your package manager
- You need to know how to clone this repo
git clone https://github.com/MrYacha/SophieBot
- Go to SophieBot/data
- Rename bot_conf.json.example to bot_conf.json
- Open in text editor
- Set mongo_conn to "mongo-server"
- Set redis_conn to "redis-server"
- Set other configs as needed
docker network create sophiebot-net
docker run -d --rm --name redis-server --network sophiebot-net redis:alpine
docker run -d --rm --name mongo-server --network sophiebot-net mongo:latest
docker run -d -v /home/yacha/SophieBot/data/:/opt/sophie_bot/data --network sophiebot-net sophie
git clone https://github.com/MrYacha/SophieBot
- Go to SophieBot/data
- Rename bot_conf.json.example to bot_conf.json
- Open in text editor
- Set configs as needed
cd SophieBot
sudo pip3 install -r requirements.txt
redis and mongodb from your package manager
cd SophieBot
python3 -m sophie_bot