X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=README.md;h=931c313d69ae5dcd5f1dcb52e1ff5e376d5946bd;hp=07eceb0d31df4bdf28e8b8897d6bddc9d6b26232;hb=1e666a0127e25d276462b5e7f7acea9492a0e1d6;hpb=a5ff14d37112d0d762aaa8a4f72def5a1a133384 diff --git a/README.md b/README.md index 07eceb0..931c313 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,22 @@ Next you'll want to set up [xonstatdb][xonstatdb]. This is maintained as a separ 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. +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) + 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_uri` to point to the correct host, port, and URL path. By default this is: +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_uri http://localhost:6543/stats/submit + 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.