- Git (https://git-scm.com/downloads)
- Composer (https://getcomposer.org/download/)
git clone [email protected]:CanalTP/stat-compiler.git
composer.phar install
parameters.xml
Migrate to last version:
php doctrine-migrations.phar -n --configuration=conf/migrations/migrations.yml migrations:migrate
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
- Vincent Lepot - [email protected]
- Rémy Abi Khalil - [email protected]
- David Quintanel - [email protected]
- Kun Liang - [email protected]