Created
April 19, 2012 13:20
-
-
Save mankind/2420944 to your computer and use it in GitHub Desktop.
Rails 3.x application template
This file contains hidden or 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
#managing upload | |
gem 'carrierwave' | |
#for generating json and xml api | |
gem 'rabl' | |
#for styling the app | |
gem "twitter-bootstrap-rails" | |
#no sql-persistentce | |
gem "mongoid" | |
gem "bson_ext" | |
=begin | |
#For sql persistence | |
gem_group :development, :test do | |
gem 'sqlite3' | |
end | |
gem_group :production do | |
gem 'pg' | |
end | |
=end | |
#calendar | |
gem 'fullcalendar-rails', :git => 'git://github.com/mankind/fullcalendar-rails.git' | |
#autorization and authentication | |
gem 'devise' | |
gem 'omniauth' | |
gem 'cancan' | |
##For emberjs app powering the front end | |
gem 'ember-rails', :git => 'git://github.com/emberjs/ember-rails.git' | |
gem 'ember-generators', :git => 'git://github.com/hedtek/ember-generators.git' | |
gem 'ember-routemanager', :git => 'git://github.com/hedtek/ember-routemanager.git' | |
#for cloudfoundry deploy | |
gem 'vmc' | |
gem 'caldecott' | |
gem_group :development, :test do | |
gem 'minitest' | |
gem 'factory_girl_rails' | |
end | |
puts "running bundle install to install gems" | |
run "bundle install" | |
puts "running Set up & run installations" | |
puts "Setting up devise ... " | |
generate 'devise:install' | |
generate 'devise User' | |
puts "setting up carrierwave..." | |
generate 'uploader Avatar' | |
puts "generating mongoid config" | |
generate "mongoid:config" | |
puts "generating fullcalendar rails" | |
generate "fullcalendar:install" | |
puts "generating cancan ability class" | |
generate "cancan:ability " | |
puts "setting up ember struture" | |
generate "ember:bootstrap" | |
puts "setting twitter-boostrap-rails ..." | |
generate "bootstrap:install" | |
puts "\n===================================" | |
puts " INSTALLATION COMPLETE!".red.bold | |
Your new Rails application is ready to go. | |
puts "==================================\n\n\n" | |
say <<-eos | |
============================================================================ | |
Don't forget to scroll up for important messages from installed generators. | |
eos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment