Giter VIP home page Giter VIP logo

quake-stats's Introduction

quake-stats

Quake III Arena statistics which include flag!

prerequisites

  1. NodeJS installed on your machine (here)
  2. Grunt installed on your machine (here)
  3. MongoDB installed on your machine and running (here)

Installing

  1. First of all - clone the repo.
  2. open CMD, go to the root directory of the project and run npm install.
  3. Run grunt server from the root directory of the project.
  4. Your browser should open with the application launched.
  5. Navigate to localhost:8000/admin.
  6. 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.

QConsole Log

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.

Running Unit Testing

Single run tests

grunt test:unit 

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

Contribution

Please see more details on contribution process on the Contribution Wiki page.

quake-stats's People

Contributors

mbarzeev avatar bachner avatar

Watchers

Omri Zisovitch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.