Boardwalk is a port of _why's Park Place (an S3 clone) to play nice with Ruby 1.9, use the Sinatra web framework, and MongoDB/MongoMapper for information and file storage.
- Ruby >= 1.9
- Sinatra 1.0 (or greater)
- MongoDB
- Bundler
Use Bundler to install any necessary gems.
To run boardwalk, in the root directory (boardwalk/
), run:
ruby bin/boardwalk.rb
If you wish to learn more about customizing boardwalk, just type:
ruby bin/boardwalk.rb --help
While Boardwalk is still under heavy development, you may run into issues. Feel free to report these issues here with a log of the errors you are receiving as well as information about your environment.
Rack doesn't play nice with thin or webrick while running boardwalk. So until the issue is fixed, you will need to edit the following line in rack/request.rb on your local machine (if you're having issues):
def media_type
content_type && content_type.split(/\s*[;,]\s*/, 2).first.downcase
end
to..
def media_type
content_type && content_type.split(/\s*[;,]\s*/, 2).first#.downcase
end
This should fix everything.