Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Generator to create a web application stack composed of Sinatra, MongoDB, Effigy, and Hoptoad.
Ruby
tag: v0.0.6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
README.md
Rakefile
VERSION
groove.gemspec

README.md

Groove

A web application stack composed of Sinatra, MongoDB, Effigy, and Hoptoad.

Usage

thor groove weekapaug

vim templates/index.html

<!DOCTYPE html>
<html>
  <head>
    <title>weekapaug groove</title>
  </head>
  <body>
    <h1>sharing in the weekapaug groove</h1>
  </body>
</html>

vim views/index.rb

class IndexView < Effigy::View
  def transform
    text('h1', DB['grooves'].find(:name => 'weekapaug'))
  end
end

Designed for Heroku and MongoHQ

heroku config

DATABASE          => mongodatabasename
DATABASE_URL      => amazon.mongohq.com
DATABASE_USER     => user
DATABASE_PASSWORD => password
HOPTOAD           => apikey123
Something went wrong with that request. Please try again.