XonStat

Pyramid application using xonstatdb to parse and store Xonotic statistical data.

  • 所有者: antzucaro/XonStat
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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, create a virtualenv and install dependencies:

virtualenv env
source env/bin/activate

From within the directory you've cloned the repo, install the dependencies:

pip install -r requirements.txt

Next, install the application itself:

pip install -e .

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:

pserve --reload 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_gamereport_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_gamereport_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+.

主要指標

概覽
名稱與所有者antzucaro/XonStat
主編程語言Python
編程語言Python (語言數: 8)
平台
許可證Other
所有者活动
創建於2011-04-01 10:52:25
推送於2020-12-06 02:01:25
最后一次提交2020-12-05 21:01:15
發布數0
用户参与
星數27
關注者數4
派生數23
提交數1.2k
已啟用問題?
問題數9
打開的問題數0
拉請求數24
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?