Home

Awesome

Total Annihilation Ranking Build Status

A basic API for ranking players in Total Annihilation games. Although an API is availiable, it also contains a basic implementation for (basic) usage.

Requirements

Instalation

This application should run on any Operating System, but it was only tested on Mac OSX 10.6.

It uses an .htaccess file for URL Rewriting in Apache web server, if you are going to use any other, please: be sure that all requests are redirected to /public/index.php unless the given request resource exists in the file system, inside the /public folder.

The Document Root should be pointed to /public.

To install the project dependencies (they are necessary), run Composer's installation command inside the project directory as follow:

$ cd <project root folder>
$ chmod a+x bin/composer.phar bin/doctrine
$ bin/composer.phar install

This application needs a database connection, without configuration it creates a SQLite database into the root directory of the application called database.sqlite.

Database configuration can be set via Enviroment Variables and they are:

Project Structure

This project uses several components in order to work correctly, providing an easy, fast and scalable way of development, they are:

The directory structure is very widely-used: