Demo of Deployment via Gem
Ruby
Latest commit 3368d3b Apr 9, 2012 @ngauthier cleanup readme
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
awesome_site.gemspec
config.ru

README.md

AwesomeSite

Steps

  1. bundle gem awesome_site
  2. add sinatra gemspec dependency
  3. update desc and summary
  4. add config.ru
  5. modify lib/awesome_site.rb to autoload awesome_site/app
  6. rake install

Server steps

  1. Gemfile w/ awesome_site and rubygems source
  2. Either source awesome_site from github or your own gem server
  3. bundle
  4. Copy config.ru
  5. rackup

Deploy steps

  1. Update awesome_site and bump its version
  2. On server, run bundle update awesome_site