an IRC Bot runs using multiprocessing power
- virtualenv (optional, avoid mix packages)
- ZODB (only if you need User module with DB)
- ZEO Server (fix concurrency problems for ZODB)
- IPython (ease debugging, optional)
- urllib3 for Weather (required if weather module is active)
- BeautifulSoup 4 (required if title module is active)
foo@bar:~$ virtualenv --python=python3 venv
foo@bar:~$ source venv/bin/activate
(venv)foo@bar:~$ pip install -r requirements.txt
(venv)foo@bar:~$ pip install zeo zodb urllib3 ipython tornado requests bs4
you need to create a fresh Database file
go to cli/ folder and execute db_utils.py
foo@bar:~$ cd <root dir>/cli/
foo@bar:~$ python3 db_utils
- Choose option 1 - Create a Fresh Database
- then you need ZEO server running
foo@bar:~$ ./run_zeo.sh
foo@bar:~$ cp run.sh_skel run.sh
foo@bar:~$ vim run.sh
foo@bar:~$ ./run.sh