Created
December 2, 2012 20:08
-
-
Save farleyknight/4190770 to your computer and use it in GitHub Desktop.
ComfortableMexicanSofa (CMS) + Spree + Devise + OmniAuth + Heroku
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.9' | |
# Postgres Database | |
gem 'pg' | |
# Twitter API | |
gem 'twitter' | |
# Tumblr API | |
gem 'tumblr_client' | |
# Facebook API | |
gem "koala" | |
# Bandcamp API | |
gem "bandcamp-rb", git: "git://github.com/farleyknight/bandcamp-rb.git" | |
# Soundcloud API | |
gem "soundcloud-ruby-api-wrapper" | |
# Vimeo API | |
gem "vimeo" | |
# Flickr API | |
gem "flickr_fu" | |
# Stuff for twitter-bootstrap | |
gem "therubyracer" | |
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS | |
gem "twitter-bootstrap-rails" | |
# Comfortable Mexican Sofa = CMS | |
gem 'comfortable_mexican_sofa' | |
# Manage User Permissions | |
gem "cancan" | |
# Manage User state (pending, active, disabled, etc) | |
gem "state_machine" | |
# Add basic authentication | |
gem "devise" | |
gem "omniauth" | |
# Main login via Facebook | |
gem "omniauth-facebook" | |
# Twitter account | |
gem "omniauth-twitter" | |
# Tumber account | |
gem "omniauth-tumblr" | |
# Soundcloud | |
gem "omniauth-soundcloud" | |
# Google+ | |
gem "omniauth-google-oauth2" | |
# YouTube | |
gem "omniauth-youtube" | |
# Vimeo | |
gem "omniauth-vimeo" | |
# Image uploads | |
gem "carrierwave" | |
# Backup to Amazon S3. | |
gem "fog" | |
# Google Analytics | |
gem 'google-analytics-rails' | |
# Basic admin panel | |
gem 'activeadmin' | |
# Push local database to production | |
gem "taps" | |
# Gems used only for assets and not required | |
# in production environments by default. | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
# gem 'therubyracer', :platforms => :ruby | |
gem 'uglifier', '>= 1.0.3' | |
end | |
gem 'jquery-rails' | |
group :test do | |
gem "rspec" | |
gem 'factory_girl_rails', :require => false | |
end | |
group :development do | |
gem 'heroku-rails' | |
end | |
# Use unicorn as the app server | |
gem 'unicorn' |
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
rails new app_name -d postgresql | |
cd app_name | |
# Edit config/database.yml to include your user name | |
emacs config/database.yml | |
rake db:drop | |
rake db:create | |
# Use the included Gemfile and run | |
rm Gemfile* | |
wget https://raw.github.com/gist/4190770/Gemfile | |
bundle install | |
# Install Devise: | |
rails g devise:install | |
rails g devise User | |
rails g devise:views | |
rake db:migrate | |
# Generate the necessary files for RefineryCMS | |
rails g comfy:cms | |
rake db:migrate | |
# Do all the important stuff.. | |
# Generate Heroku app: | |
heroku create app_name --stack cedar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment