Go to file
Giuseppe Guerra ea4e2bd4fd Pin cython to 0.27.3 2018-04-03 12:40:45 +02:00
common@32a02e4d56 Update submodules 2017-04-13 17:22:35 +02:00
constants Handle invalidUserException when calling fokabot commands 2018-04-02 18:19:47 +02:00
events Handle matches with no name 2018-03-23 21:28:13 +01:00
handlers Force ASCII encoding in /api/v1/fokabotMessage 2017-10-31 13:11:01 +01:00
helpers Handle empty chat messages 2018-03-23 21:27:48 +01:00
irc I should get a proper development environment 2017-07-23 12:21:38 +02:00
objects Removed timeoutTime and checkTime args from usersTimeoutCheckLoop 2018-03-23 20:59:30 +01:00
pubSubHandlers .BANCHO. Removed dashes in when tracking notes for CM 2017-01-06 12:55:50 +01:00
.gitignore Add .pyenv to .gitignore 2018-04-03 12:38:32 +02:00
.gitmodules .HIDE. Change submodule url to new git server and use HTTPS instead of SSH 2017-01-16 19:39:54 +01:00
.landscape.yaml .HIDE. Update landscape config file 2016-12-28 16:12:39 +01:00
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
README.md Add code health badge in README 2016-12-17 15:33:12 +01:00
filters.txt Update 'filters.txt' 2017-04-10 19:21:41 +02:00
full_build.sh Add full build script 2016-12-08 15:46:21 +01:00
pep.py Add empty match cleanup job 2018-03-23 20:59:04 +01:00
requirements.txt Pin cython to 0.27.3 2018-04-03 12:40:45 +02:00
setup.py .BANCHO. Dynamic setup.py file 2016-12-08 11:43:23 +01:00
version 🔼 1.13.3 🔼 2018-03-23 21:38:24 +01:00

README.md

pep.py Code Health

This is Ripple's bancho server. It handles:

  • Client login
  • Online users listing and statuses
  • Public and private chat
  • Spectator
  • Multiplayer
  • Fokabot

Requirements

  • Python 3.5
  • Cython
  • C compiler
  • MySQLdb (mysqlclient)
  • Tornado
  • Bcrypt
  • Raven

How to set up pep.py

First of all, initialize and update the submodules

$ git submodule init && git submodule update

afterwards, install the required dependencies with pip

$ pip install -r requirements.txt

then, compile all *.pyx files to *.so or *.dll files using setup.py (distutils file)

$ python3 setup.py build_ext --inplace

finally, run pep.py once to create the default config file and edit it

$ python3 pep.py
...
$ nano config.ini

you can run pep.py by typing

$ python3 pep.py

License

All code in this repository is licensed under the GNU AGPL 3 License.
See the "LICENSE" file for more information
This project contains code taken by reference from miniircd by Joel Rosdahl.