Skip to content

Instantly share code, notes, and snippets.

@yurikoval
Last active December 27, 2015 17:29
Show Gist options
  • Save yurikoval/7362451 to your computer and use it in GitHub Desktop.
Save yurikoval/7362451 to your computer and use it in GitHub Desktop.
Generate rails app template
# rails_apps_composer template ~/template.rb -d defaults.yaml
# rails new app_name -m ~/template.rb
recipes:
- apps4
- controllers
- core
- email
- extras
- frontend
- gems
- git
- init
- models
- prelaunch
- readme
- routes
- saas
- setup
- testing
- views
prefs:
:apps4: none
:authentication: devise
:authorization: cancan
:ban_spiders: false
:better_errors: true
:bootstrap: sass
:continuous_testing: guard
:database: postgresql
:dev_webserver: puma
:email: sendgrid
:fixtures: factory_girl
:form_builder: simple_form
:frontend: bootstrap
:github: true
:integration: capybara
:local_env_file: true
:pg_password: ''
:pg_username: yuri
:prod_webserver: puma
:quiet_assets: true
:rvmrc: false
:starter_app: admin_app
:templates: haml
:unit_test: rspec
gems:
- airbrake
- awesome_print
- carrierwave
- carrierwave_direct
- event_tracker
- fog
- has_scope
- health_check
- inherited_resources
- kaminari
- kaminari-bootstrap
- navigasmic
- newrelic_rpm
- omniauth-google-oauth2
- phony_rails
- rails-timeago
- redis
- sidekiq
- state_machine
- stripe
- table_cloth
- uniquify
- wicked
args:
:skip_test_unit: yes
:skip_active_record: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment