Pyramid application using xonstatdb to parse and store Xonotic statistical data.
Python JavaScript Mako HTML Go CSS Other
Pull request Compare This branch is 292 commits ahead, 197 commits behind antzucaro:master.
Permalink
Failed to load latest commit information.
cronjobs
dist
feeder added ft_competitive factory for A-ratings Jan 5, 2017
sql
xonstat fixed game results duplicating in view for teambased gametypes Dec 30, 2016
.gitignore changes to allow running the code with Node tools for VisualStudio Aug 13, 2016
CHANGES.txt Initial commit from Paster template Mar 31, 2011
COPYING.txt Update year...just before the new year. Dec 18, 2014
MANIFEST.in Initial commit from Paster template Mar 31, 2011
README.md make README more readable in terminal May 15, 2012
TODO Modified Readme May 5, 2012
development.ini - matches with "untracked" in the factory name are now ignored (no st… Jun 10, 2016
install-instructions-debian8.txt - added indices to speed up queries Feb 8, 2016
install-instructions.txt - feeder can now process files and directories from the command line Dec 13, 2015
production.ini Do not include jinja2 if we do not use it. Dec 25, 2014
setup.cfg
setup.py

README.md

This is XonStat, the application in front of xonstatdb.
XonStat handles the submission of statistical information from the open source first person shooter Xonotic.


To start, first run the following from the root directory to set up dependencies:

python setup.py develop

Next you'll want to set up xonstatdb. This is maintained as a separate project here:

https://github.com/antzucaro/xonstatdb

Next you'll want to open up development.ini and change a few things for added security. Chief among these is the "sqlalchemy.url" setting, which contains your username and password for the database. Change that match the new password you gave xonstat during the installation of xonstatdb. The other setting to change is "session.secret," which is used to keep your web session (cookies and such) secure.

To start the server run the following from the root directory. I recommend running this within a GNU screen session:

paster serve development.ini #(or production.ini if you've configured that settings file instead)

To get a Xonotic server configured to use this server, change the CVAR g_playerstats_uri to point to the correct host, port, and URL path. By default this is:

http://localhost:6543/stats/submit

...so in the server console (or in your config) you can put:

set g_playerstats_uri http://localhost:6543/stats/submit

If you have any questions or issues please open up a bug report here, or - better yet ! - fork it and send me a pull request.


Project is licensed GPLv2+.