Created
February 21, 2014 16:32
-
-
Save AhmedNadar/9137564 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git :init | |
git add: "." | |
git commit: %Q{ -m 'Initial commit' } | |
# Twitter bootstrap baby | |
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git' | |
# Incase you want less | |
gem 'less-rails' | |
# jQuery is the win | |
gem 'jquery-rails' | |
gem 'jquery-ui-rails' | |
# Devise for auth goodness | |
gem 'devise' | |
# Cancan for permission goodness | |
gem 'cancan' | |
# Decorator pattern | |
gem 'draper' | |
# Pagination | |
gem 'will_paginate', '~> 3.0' | |
gem_group :development, :test do | |
gem 'factory_girl_rails' | |
gem 'rspec-rails' | |
gem 'shoulda-matchers' | |
gem 'capybara' | |
gem 'launchy' | |
gem 'database_cleaner' | |
gem 'guard-rspec' | |
gem 'faker' | |
gem 'thin' | |
end | |
gem_group :assets do | |
gem 'therubyracer', :platforms => :ruby | |
end | |
run "bundle install" | |
git add: "." | |
git commit: %Q{ -m 'Gemfile updates' } | |
generate("devise:install") | |
environment "config.action_mailer.default_url_options = { :host => 'localhost:3000' }", env: 'development' | |
route('root :to => "home#index"') | |
# Ensure you have flash messages in app/views/layouts/application.html.erb. | |
# For example: | |
# | |
# <p class="notice"><%= notice %></p> | |
# <p class="alert"><%= alert %></p> | |
environment "config.assets.initialize_on_precompile = false" | |
generate("devise:views") | |
git add: "." | |
git commit: %Q{ -m 'devise gem added' } | |
# Generate user model | |
generate("devise User") | |
# Migrate the DB | |
rake "db:migrate" | |
git add: "." | |
git commit: %Q{ -m 'User model added' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment