Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Barely enough CouchDB.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
features Documentation and random cleanup.
lib/tasks
script
test
.gems
.gitignore
README.rdoc
Rakefile

README.rdoc

Hideabed

Barely enough CouchDB.

Rationale

Say you'd like to run chef-server on a host that doesn't support Erlang. What do you do?

The Cool Part

github.com/matthewtodd/doily

The Obvious Part

Of course, mimicking CouchDB with a Rails app disregards pretty much every huge scaling problem CouchDB was designed to solve. So, this project is merely a stopgap measure for me and not any attempt to try to be awesome. Well, maybe just a little awesome.

Alternatives

Use it!

I happen to be deploying to Heroku. Here's how you would do that:

git clone git://github.com/matthewtodd/hideabed.git
cd hideabed
heroku create
heroku config:add HIDEABED_API_KEY=...
heroku config:add HIDEABED_SESSION_SECRET=...
heroku addons:add piggyback_ssl
git push heroku master
heroku rake db:migrate

And then, assuming your HIDEABED_API_KEY is “bob” and your app is prancing-igloo-37, you'd do something like this to test:

curl https://bob:X@prancing-igloo-37.heroku.com/

If you happen to see “curl: (1) Protocol https not supported or disabled in libcurl”, then perhaps you got curl by installing git-core via MacPorts. Not to worry:

sudo port install curl +ssl

Contribute

Like I say, barely enough CouchDB. (Check out the Cucumber features for all that the code actually promises to do.) So, if you'd like to take this somewhere, feel free!

Something went wrong with that request. Please try again.