Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views
.envrc.sanple
.ruby_version
Gemfile
Gemfile.lock
README.md
bookshelf.rb

README.md

sinatra-mongodb

Sample sinatra application with MongoDB from はじめての MongoDB

Usage

Deploy MongoDB.

I used chaspy/mongodb-vagrant

Set $MONGO_HOST and $MONGO_PORT as environment variable.

$ cp .envrc.sample .envrc
$ . .envrc
$ ruby bookshelf.rb

See localhost:4567 in your browser.

You can’t perform that action at this time.