Go to file
2018-02-14 17:44:37 +01:00
common@32a02e4d56 Update submodules 2017-04-13 17:22:35 +02:00
constants Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
events Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
handlers Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
helpers Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
irc I should get a proper development environment 2017-07-23 12:21:38 +02:00
objects Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
pubSubHandlers .BANCHO. Removed dashes in when tracking notes for CM 2017-01-06 12:55:50 +01:00
.gitignore .HIDE. Update .gitignore 2016-12-08 11:44:12 +01:00
.gitmodules Updated submodules 2018-02-12 21:16:33 +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 Use whatever account that is in id 999 as bot 2018-02-14 17:44:37 +01:00
README.md Add code health badge in README 2016-12-17 15:33:12 +01:00
requirements.txt .HIDE. General refactoring 2016-12-26 10:33:05 +01:00
setup.py .BANCHO. Dynamic setup.py file 2016-12-08 11:43:23 +01:00
version Bump version 2017-08-12 21:36:16 +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.