Git Product home page Git Product logo

stat-compiler-1's Introduction

README

What is STAT-COMPILER ?

Requirements

Installation

1. Clone the repository

git clone [email protected]:CanalTP/stat-compiler.git

2. Initializing with Composer

composer.phar install

3. Create in conf/ folder your own config files based on *.dist ones:

parameters.xml

4. Migrations

Migrate to last version:

php doctrine-migrations.phar -n --configuration=conf/migrations/migrations.yml migrations:migrate

How to update database

The following command is used to update the database (only for the day before):

bin/stat_compiler updatedb

Example use cases:

1/ I want to update the data on a specific period. Example: from 2015-10-01 to 2015-11-01.

bin/stat_compiler updatedb 2015-10-01 2015-11-01

  • start_date: Consolidation start date (YYYY-MM-DD). Defaults to yesterday.
  • end_date: Consolidation end date (YYYY-MM-DD). Defaults to yesterday.

2/ Based on the above example, I want to update only the table requests_calls.

bin/stat_compiler updatedb 2015-10-01 2015-11-01 --only-update=requests_calls

For more information about the arguments and options, execute command:

bin/stat_compiler updatedb --help

Contributing

  1. Vincent Lepot - [email protected]
  2. Rémy Abi Khalil - [email protected]
  3. David Quintanel - [email protected]
  4. Kun Liang - [email protected]

stat-compiler-1's People

Contributors

netmisa avatar lrochewb avatar datanel avatar dvdn avatar kun2985 avatar alcalyn avatar nberard avatar is06 avatar

Watchers

James Cloos 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.