Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed Apr 25, 2011
1 parent 577a027 commit 6c48bb0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
24 changes: 23 additions & 1 deletion DEMO
Expand Up @@ -6,7 +6,29 @@ script/server -e production

# Demo

## Create

heroku create
heroku db:push
heroku db:push --confirm appname
git push heroku master

## Extend and Introspect

heroku addons:add memcached:5mb sendgrid:free pgbackups
heroku pgbackups:capture

heroku addons:upgrade logging:advanced
heroku logs --tail
heroku logs --tail -s app | grep SQL

## Scale

heroku dynos +2
heroku workers +5
heroku ps
heroku dynos 1
heroku workers 0

## Baby steps:
# Show online scale slider
# Show addon page & add buttons
4 changes: 2 additions & 2 deletions config/environment.rb
Expand Up @@ -12,7 +12,7 @@
Radiant::Initializer.run do |config|
# Skip frameworks you're not going to use (only works if using vendor/rails).
# To use Rails without a database, you must remove the Active Record framework
config.frameworks -= [ :action_mailer ]
#config.frameworks -= [ :action_mailer ]

# Only load the extensions named here, in the order given. By default all
# extensions in vendor/extensions are loaded, in alphabetical order. :all
Expand Down Expand Up @@ -82,4 +82,4 @@
inflect.uncountable 'config'
end
end
end
end

0 comments on commit 6c48bb0

Please sign in to comment.