pyircbot/README.md

47 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

pyircbot3
=========
**A modular python IRC bot**
Quick start
-----------
* Install: `python3 setup.py install`
* Configure: `vim examples/config.json examples/data/config/Services.json`
* Run: `pyircbot -c examples/config.json`
Running in docker
-----------------
A dockerfile is included at `examples/docker/`. From the *root* of this repository, run
`docker build -t pyircbot -f examples/docker/Dockerfile .` to build it. Typical use is mounting a directory from the
host onto `/srv/bot`; this dir should contain config.json and any other dirs it references.
Building Docs
-------------
* Install sphinx and all modules pyircbot depends on
* `cd docs ; make html`
* Open _build/index.html
Or, use my pre-built copy [here](http://davepedu.com/files/botdocs/).
Alternatively, use the included Dockerfile to create an environment for building the docs. Check
`docs/builder/README.md`.
Developing Modules
------------------
Check *Module Developers Guide* in the docs
Tests
-----
PyIRCBot has great test coverage. After installing the contents of `requirements-test.txt`, the script `./run-tests.sh`
will run all tests. See the contents of the script for more information. See README.md in `./tests/` for more info.
TODO
----
* Improve/complete docs
* Write config checker