Sha256: 385861a27c5158dc7b6d37d16e82ee6689ad26bdf7a401d22870f02d92a1294b
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
set :app_name, @app_name set :titleized_app_name, get(:app_name).titleize set :underscorized_app_name, get(:app_name).underscore default_env({ 'DB_NAME' => "#{get(:underscorized_app_name)}", 'DB_USER' => "root", 'DB_PASSWORD' => '' }) run_action(:cleaning) do clean_gemfile gather_gem('spring') end run_action(:asking) do eval_file "recipes/asks/database.rb" eval_file "recipes/asks/devise.rb" eval_file "recipes/asks/admin.rb" eval_file "recipes/asks/pundit.rb" eval_file "recipes/asks/lang.rb" eval_file "recipes/asks/api.rb" end run_action(:recipe_loading) do eval_file "recipes/unicorn.rb" eval_file "recipes/database.rb" eval_file "recipes/readme.rb" eval_file "recipes/rbenv.rb" eval_file "recipes/bower.rb" eval_file "recipes/editorconfig.rb" eval_file "recipes/aws_sdk.rb" eval_file "recipes/i18n.rb" eval_file "recipes/pry.rb" eval_file "recipes/devise.rb" eval_file "recipes/admin.rb" eval_file "recipes/angular_admin.rb" eval_file "recipes/pundit.rb" eval_file "recipes/testing.rb" eval_file "recipes/production.rb" eval_file "recipes/git.rb" eval_file "recipes/api.rb" eval_file "recipes/rack-cors.rb" end say "Gathered enough information. Applying the template. Wait a minute.", :green run_action(:gem_install) do build_gemfile run "bundle install" end run_action(:database_creation) do run "rake db:create db:migrate" run "RAILS_ENV=test rake db:create db:migrate" end
Version data entries
4 entries across 4 versions & 1 rubygems