----
-To start, first run the following from the root directory to set up dependencies:
+To start, create a virtualenv and install dependencies:
- python setup.py develop
+ 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][xonstatdb]. This is maintained as a separate project here:
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.