Sha256: e5ee05766552e4039d817097b65b810d3fcfcc7d8dfb56fe23f9b3015c083e95

Contents?: true

Size: 687 Bytes

Versions: 10

Compression:

Stored size: 687 Bytes

Contents

module Pageflow
  module Generators
    class InstallGenerator < Rails::Generators::Base

      desc "Installs Pageflow and generates the necessary migrations."

      def generate_all
        generate 'active_admin:install User --skip-users'
        generate 'active_admin:devise User --no-default-user'
        generate 'friendly_id'

        invoke 'pageflow:cancan'
        invoke 'pageflow:resque'

        invoke 'pageflow:assets'
        invoke 'pageflow:initializer'
        invoke 'pageflow:routes'
        invoke 'pageflow:user'
        invoke 'pageflow:seeds'
        invoke 'pageflow:active_admin_menu'

        rake 'pageflow:install:migrations'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pageflow-0.6.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.5.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.4.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.3.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.2.1 lib/generators/pageflow/install/install_generator.rb
pageflow-0.2.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.1.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.0.5 lib/generators/pageflow/install/install_generator.rb
pageflow-0.0.4 lib/generators/pageflow/install/install_generator.rb
pageflow-0.0.3 lib/generators/pageflow/install/install_generator.rb