Quake III Arena statistics which include flag!
- NodeJS installed on your machine (here)
- Grunt installed on your machine (here)
- MongoDB installed on your machine and running (here)
- First of all - clone the repo.
- Under the root directory of the project create a /data/db directory for mongo to use
- open CMD and launch MongoDB with a dbpath directing to the directory you've just created in the previous step
- open CMD, go to the root directory of the project and run
npm install
. - Run
grunt server
from the root directory of the project. - Your browser should open with the application launched.
- Navigate to localhost:8000/admin.
- Upload games.log and qconsole.log in the appropriate file inputs, give your game a name. If you can't find qconsole.log, see the QConsole section below.
Flags statistics don't come that easy ;) The games.log file does give some indication of Flags cpatures etc. but it can be inaccurate. For accuracy you need the qconsole.log, which is a dump of the game console messages. In order to obtain this file, you need to add the following command to you server configuration:
logfile 1
Either you do that, or add to the Quake shortcut path the following parameter:
+set logfile 1
This will dump a qconsole.log file to the baseq3 directory. When you have this file, see the install section above about how to use it.
grunt test:unit
This project support Protractor Automation tests. Currently there aren't a lot of them, but the infrastructure is laid down for them to come. In order to launch the tests first make sure that you're localhost server is up and running and then open CMD on the project’s root directory and run this command:
node node_modules\protractor\bin\protractor test\automation\conf.js
Please see more details on contribution process on the Contribution Wiki page.