Sha256: 498fb8efb2f0e486cac3d7c7d1705ee0c0c4d2311235bfbda072f0801a22d123

Contents?: true

Size: 694 Bytes

Versions: 10

Compression:

Stored size: 694 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_initializer'

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pageflow-0.10.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.9.2 lib/generators/pageflow/install/install_generator.rb
pageflow-0.9.1 lib/generators/pageflow/install/install_generator.rb
pageflow-0.9.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.8.2 lib/generators/pageflow/install/install_generator.rb
pageflow-0.8.1 lib/generators/pageflow/install/install_generator.rb
pageflow-0.8.0 lib/generators/pageflow/install/install_generator.rb
pageflow-0.7.2 lib/generators/pageflow/install/install_generator.rb
pageflow-0.7.1 lib/generators/pageflow/install/install_generator.rb
pageflow-0.7.0 lib/generators/pageflow/install/install_generator.rb