Quake III Arena statistics which include flag!
- NodeJS installed on your machine (here). Check that you have "npm" installed as well.
- Install Grunt on your machine by running "npm install grunt-cli -g" (here)
- MongoDB installed on your machine (here)
- First of all - clone the repo.
- Run 'npm install'
- Run 'bower install'
- 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
grunt serverfrom 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:
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.
Running Unit Testing
Single run tests
Running Protractor Automation Tests
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.