Class: Elibri::Connect::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Elibri::Connect::InstallGenerator
- Defined in:
- lib/generators/elibri/connect/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
7 8 9 10 11 12 |
# File 'lib/generators/elibri/connect/install/install_generator.rb', line 7 def install Rails::Generators.invoke("elibri:connect:config") Rails::Generators.invoke("elibri:connect:db_structure") Rails::Generators.invoke("elibri:connect:whenever") rake('db:migrate') end |