Skip to content

FAForever/QAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ca52f3 · Nov 20, 2018
Nov 19, 2018
Nov 12, 2018
Aug 21, 2015
Oct 6, 2018
Oct 10, 2018
Nov 4, 2018
Oct 6, 2018
Nov 4, 2018
Oct 6, 2018
Oct 6, 2018

Repository files navigation

FA Forever - IRC bot

Build Status Scrutinizer Code Quality

This is the source code for the Forged Alliance Forever IRC bot.

Installation

Install Python 3.6 or a later 3.x version.

Latest pip version (18.1) at the moment of writing this document breaks pipenv - pypa/pipenv#2924, so we will need to install version 18.0

Install pip version 18.0:

windows:    pip install --upgrade pip==18.0
            pip --version

linux:      pip3 install --upgrade pip==18.0
            pip3 --version

Install the package dependencies:

windows:    pip install -r requirements.txt
            pipenv run pip install --upgrade pip==18.0
            pipenv install

linux:      pip3 install -r requirements.txt
            pipenv run pip3 install --upgrade pip==18.0
            pipenv install

Create the config file and modify the settings as appropriate:

cp config.ini.example config.ini

Create the passwords.py file. You can create of copy of the passwords.py.example file in the server repo.

Usage

pipenv shell
python3 -m irc3 config.ini

Running the tests

pipenv shell
py.test tests/