This is a sample of ETL built on a very small data set (the rails git commit log) for educational purposes.
More explanations will be added here later on. In the mean time:
- make sure to have mysql installed and running (
brew install mysql
) - install ruby 1.9.3 (and I suggest RVM if possible)
- edit
config/database.yml
to reflect your mysql setup - then:
bundle install
mysql -u root -p -e "create database aw_etl_sample_etl_execution"
mysql -u root -p -e "create database aw_etl_sample_datawarehouse CHARACTER SET utf8 COLLATE utf8_general_ci"
bundle exec etl etl/process_all.ebf
There are a couple of specs to show how to test your dimension builders. Run with:
rake spec
- Thibaut Barrère
- Alisson Cavalcante Agiani
Pull-request are most-welcome! Get in touch before working on anything significant though.
MIT