Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move around dependencies a bit for easier deployment to Heroku

  • Loading branch information...
commit f95cf8e5198e8341662d05e35cc700d8b3f9949c 1 parent 6034956
@rwdaigle authored
Showing with 59 additions and 46 deletions.
  1. +1 −0  .rvmrc
  2. +30 −0 DEMO
  3. +2 −5 Gemfile
  4. +26 −41 Gemfile.lock
View
1  .rvmrc
@@ -0,0 +1 @@
+rvm use ruby-1.9.2-p180@demo.jscontact --create
View
30 DEMO
@@ -0,0 +1,30 @@
+# Local
+
+bundle install
+rake db:migrate
+
+# Demo
+
+## Create
+
+heroku create ryancontact
+git push heroku master
+
+## Extend and Introspect
+
+heroku addons:add memcache:5mb pgbackups:basic
+heroku pgbackups:capture
+
+heroku addons:upgrade logging:advanced
+heroku logs --tail
+
+## Scale
+
+heroku dynos +2
+heroku ps
+heroku dynos 1
+
+## Baby steps:
+#
+# Show online scale slider
+# Show addon page & add buttons
View
7 Gemfile
@@ -1,17 +1,14 @@
source 'http://rubygems.org'
-gem 'rails', '3.0.6'
-gem 'sqlite3'
+gem 'rails', '3.0.7'
gem 'haml'
gem 'omniauth'
group :development, :test do
+ gem 'sqlite3'
gem 'rspec-rails'
gem 'jquery-rails'
- gem 'heroku'
- gem 'unicorn'
gem 'nifty-generators'
- gem "mocha"
gem "capybara"
gem "autotest"
gem "fabrication"
View
67 Gemfile.lock
@@ -3,12 +3,12 @@ GEM
specs:
ZenTest (4.5.0)
abstract (1.0.0)
- actionmailer (3.0.6)
- actionpack (= 3.0.6)
+ actionmailer (3.0.7)
+ actionpack (= 3.0.7)
mail (~> 2.2.15)
- actionpack (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
+ actionpack (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.5.0)
@@ -16,19 +16,19 @@ GEM
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
- activemodel (3.0.6)
- activesupport (= 3.0.6)
+ activemodel (3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
i18n (~> 0.5.0)
- activerecord (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
+ activerecord (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
arel (~> 2.0.2)
tzinfo (~> 0.3.23)
- activeresource (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
- activesupport (3.0.6)
+ activeresource (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
+ activesupport (3.0.7)
addressable (2.2.4)
arel (2.0.9)
autotest (4.4.6)
@@ -46,7 +46,6 @@ GEM
celerity (0.8.9)
childprocess (0.1.8)
ffi (~> 1.0.6)
- configuration (1.2.0)
culerity (0.2.15)
diff-lcs (1.1.2)
erubis (2.6.6)
@@ -59,25 +58,17 @@ GEM
ffi (1.0.7)
rake (>= 0.8.7)
haml (3.0.25)
- heroku (1.20.1)
- launchy (~> 0.3.2)
- rest-client (>= 1.4.0, < 1.7.0)
i18n (0.5.0)
jquery-rails (0.2.7)
rails (~> 3.0)
thor (~> 0.14.4)
json_pure (1.5.1)
- kgio (2.3.3)
- launchy (0.3.7)
- configuration (>= 0.0.5)
- rake (>= 0.8.1)
- mail (2.2.16)
+ mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
- mocha (0.9.12)
multi_json (0.0.5)
multipart-post (1.1.0)
net-ldap (0.1.1)
@@ -130,17 +121,17 @@ GEM
ruby-openid (>= 2.1.8)
rack-test (0.5.7)
rack (>= 1.0)
- rails (3.0.6)
- actionmailer (= 3.0.6)
- actionpack (= 3.0.6)
- activerecord (= 3.0.6)
- activeresource (= 3.0.6)
- activesupport (= 3.0.6)
+ rails (3.0.7)
+ actionmailer (= 3.0.7)
+ actionpack (= 3.0.7)
+ activerecord (= 3.0.7)
+ activeresource (= 3.0.7)
+ activesupport (= 3.0.7)
bundler (~> 1.0)
- railties (= 3.0.6)
- railties (3.0.6)
- actionpack (= 3.0.6)
- activesupport (= 3.0.6)
+ railties (= 3.0.7)
+ railties (3.0.7)
+ actionpack (= 3.0.7)
+ activesupport (= 3.0.7)
rake (>= 0.8.7)
thor (~> 0.14.4)
rake (0.8.7)
@@ -174,9 +165,6 @@ GEM
treetop (1.4.9)
polyglot (>= 0.3.1)
tzinfo (0.3.26)
- unicorn (3.5.0)
- kgio (~> 2.3)
- rack
xpath (0.1.3)
nokogiri (~> 1.3)
@@ -188,12 +176,9 @@ DEPENDENCIES
capybara
fabrication
haml
- heroku
jquery-rails
- mocha
nifty-generators
omniauth
- rails (= 3.0.6)
+ rails (= 3.0.7)
rspec-rails
sqlite3
- unicorn
Please sign in to comment.
Something went wrong with that request. Please try again.