Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Rails Generator for ETL installation #87

Open
OpenCoderX opened this issue Apr 3, 2012 · 1 comment
Open

Rails Generator for ETL installation #87

OpenCoderX opened this issue Apr 3, 2012 · 1 comment

Comments

@OpenCoderX
Copy link
Contributor

After gem installation via gem file and bundle install:

allow the use of a generator to install activewarehouse-etl to the rails app creating all necessary directories as well as stub files with comments for instructions and dummy data as place holders for real data.

  1. user would run - 'rails g activewarehouse-etl:install'
  2. generator would add etl connection to - database.yml
  3. generator would create 'etl' directory in rails root
  4. generator would generate stub .ctl.rb, .ebf.rb, common.rb files
  5. user can run 'rails g activewarehouse-etl:control [CONTROL_NAME]' to generate new stub control file
  6. user can run 'rails g activewarehouse-etl:batch [BATCH_NAME]' to generate new stub batch file

This generator would help ease and quicken installation for beginners. Ideally after the generators are run the user will just have to develop inside the control file and run the command 'bundle exec...'

@thbar
Copy link
Member

thbar commented Apr 4, 2012

One thing is that I'm currently trying to move activewarehouse away from Rails and ActiveRecord in general, toward a more agnostic approach where AR is still allowed of course, but not required. There is plenty of time before this will arrive though.

Let me think: maybe we could put this into some contrib repository? This is something that will be needed anyway, because many people have contributed eg transforms that are quite specific and should not be in the core, but are definitely worthwhile sharing around.

What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants