forked from raylu/pbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Python 3 IRC bot
License
lbatalha/pbot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installation: Install these dependencies. Debian (wheezy): python3-yaml python3-requests Fedora (17): python3-PyYAML python3-requests Copy config.yaml.example to config.yaml. Edit. `./pbot.py` (run with -d to daemonize) Code evaluator: Make the nsjail directory a sibling of the pbot directory: `cd ..` `git clone --recursive git://github.com/google/nsjail.git` `cd nsjail` `make` If /sys/fs/cgroup/memory doesn't exist: `sudo mkdir /sys/fs/cgroup/{memory,pids}` `sudo mount -t cgroup memory -o memory /sys/fs/cgroup/memory` `sudo mount -t cgroup pids -o pids /sys/fs/cgroup/pids` Set up NSJAIL memory/pids cgroups: `sudo mkdir /sys/fs/cgroup/{memory,pids}/NSJAIL` `sudo chown -R $USER: /sys/fs/cgroup/{memory,pids}/NSJAIL` EVE price checker: Download the latest invTypes.sql.bz2 file from https://www.fuzzwork.co.uk/dump/ Install mysql-server (or mariadb-server) `mysql -u root -p` create database eve; grant all on eve.* to eve@localhost identified by 'eve'; `bunzip2 -c invTypes.sql.bz2 | mysql -u eve -peve eve` You will need oursql but this is not packaged nor will pip/easy_install find the right version. I recommend downloading and extracting the zip at https://launchpad.net/oursql/py3k On Debian, install libmysqlclient-dev (even if you're running MariaDB) On Fedora, install mysql-devel (or MariaDB-devel) On both, install python3-pip cd into the oursql directory and then run Debian: `pip-3.2 install .` Fedora: `pip-python3 install .`
About
Python 3 IRC bot
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%