A CMS where all data is provided by feeds.
The layout is described by a Frame, it contains an ordered list of Blocks.
The Blocks contains an ordered list of Puffs. Each layout piece has a
references to a template that it uses to display its contents on the page.
A Page contains a list of entries, PageEntry. Every entry contains a
reference to a Block and a Feed.
The Feed serves Articles that is laid out in the Puffs.
An Article has one responsibility, providing article information for the
Puff to display. There are a number of subclasses of Article, one for each
source.
A Feed is responsible for providing a list of article URIs. The Article
subclasses know how to convert a URI into an Article that can be displayed by
the puffs.
- Install Ruby 1.9.3 with RVM or with Brew
brew install ruby - Install Mongodb
brew install mongodb bundle installcp config/application.example.yml config/application.yml- Start mongo
- Populate the database
rake db:seed db:populate
