Class: HorsePower::SetupGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/horse_power/setup/setup_generator.rb

Instance Method Summary collapse

Instance Method Details

#sprintObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/generators/horse_power/setup/setup_generator.rb', line 5

def sprint
 	create_file_structure
   all_gems
 	run_bundle
 	rspec
 	api_controller
   include_middleware
   make_admin
   routes
   setup_routes
   make_user
   run "rake railties:install:migrations"
   run_db_migrations
 	make_controllers
   custom_active_admin
   seed_database
   initializers
   run "wheneverize"
 	#run_git
end