Ripple's bancho server
  • Python 93.5%
  • Cython 6.5%
Find a file
2019-04-25 23:53:49 +02:00
common@1b6fbdd0d5 Updated submodule common 2019-03-28 20:06:17 +01:00
constants Add !delta command 2019-04-25 23:53:49 +02:00
events The ascension of the Madonna (the 15th of August is approaching) 2018-08-04 19:26:42 +02:00
handlers ??? 2018-08-04 23:10:38 +02:00
helpers Add !delta command 2019-04-25 23:53:49 +02:00
irc Fix broken sentry client 2018-08-04 19:58:22 +02:00
objects Selective update main menu icon redis handler 2019-03-31 18:01:37 +02:00
pubSubHandlers Selective update main menu icon redis handler 2019-03-31 18:01:37 +02: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
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
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
pep.py Selective update main menu icon redis handler 2019-03-31 18:01:37 +02:00
README.md Add code health badge in README 2016-12-17 15:33:12 +01:00
requirements.txt oof 2019-04-21 11:15:08 +02:00
setup.py Ignore .pyx files in .pyenv 2018-04-13 23:38:05 +02:00
version 🔼 1.13.7 🔼 2018-08-12 17:19:12 +02:00

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.