Giter Club home page Giter Club logo

xonstat's Introduction

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+.

xonstat's People

Contributors

antzucaro avatar predath0r avatar nyov avatar dmazary avatar ecschiel avatar davidmazary avatar em92 avatar baneofblabs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.