Foo
Bottlerocket is a Sinatra/Mongo based CMS which aims to ease development times on small sites. The overall aim is to be able quickly write create your content types in a YAML file and then deploy your site with very little configuration.
- Mongo based content management system
- Fully speced
- Gem based
- Sinatra based
- Works with Heroku
- Beautiful user interface
- HTML 5/CSS 3 administration interface
gem install bottlerocket
bottlerocket my_project
Bottlerocket also requires you to have atleast Mongo 1.5.8 and Ruby 1.9.2.
Once you get everything installed, you can define the types of Content you are going to use in your CMS by editing the content_types.yaml file
-
name: pages
fields:
- title: string
- body: text
- image: file
- section:
- general
- life style
- cooking
- gaming
- rocket science
- active: boolean
-
name: stores
fields:
- name: string
- address: text
From here, you can call on a ContentType for use in your template(e.g.)
@page = ContentTypes.pages.find(:title => "title").first
- Note: content_type is reserved field.