public
Description: Simple blogging software based on merb
Homepage:
Clone URL: git://github.com/kschrader/gutenberg.git
kschrader (author)
Tue Dec 02 22:38:31 -0800 2008
commit  2eb4cee7c96a0e0c3fc68fe8cd719299567cd4db
tree    57ebe32fa65837edacd4134a7b815770736cb5de
parent  d5566b678947ff41c46db624b8b199bddfe8484b
name age message
file .gitignore Mon Nov 24 17:44:54 -0800 2008 Get rid of the gems/gems directory. Use 'thor m... [kschrader]
file README.rdoc Tue Dec 02 22:38:31 -0800 2008 Add in a license and fix some typos. [kschrader]
file Rakefile Sun Nov 09 01:13:27 -0800 2008 Upgrade to Merb 1.0. [kschrader]
directory app/ Tue Nov 25 22:26:22 -0800 2008 Play with the styling. Make the proper links a... [kschrader]
directory autotest/ Tue Dec 02 14:49:06 -0800 2008 Add in support for Cucumber BDD features. [kschrader]
directory bin/ Tue Dec 02 14:49:06 -0800 2008 Add in support for Cucumber BDD features. [kschrader]
directory config/ Tue Dec 02 18:57:36 -0800 2008 Updates to the README. Make sure that we're exp... [kschrader]
directory db/ Sun Jul 06 19:04:25 -0700 2008 Actually render some content. Also, start of a ... [kschrader]
directory doc/ Sun Nov 09 01:13:27 -0800 2008 Upgrade to Merb 1.0. [kschrader]
directory features/ Tue Dec 02 17:45:31 -0800 2008 Update the README to show how to run the featur... [kschrader]
directory gems/ Tue Dec 02 14:49:06 -0800 2008 Add in support for Cucumber BDD features. [kschrader]
directory lib/ Tue Dec 02 14:49:06 -0800 2008 Add in support for Cucumber BDD features. [kschrader]
directory merb/ Sun Nov 09 01:13:27 -0800 2008 Upgrade to Merb 1.0. [kschrader]
directory public/ Tue Nov 25 22:31:02 -0800 2008 Missed a bit of styling. [kschrader]
directory spec/ Tue Nov 25 00:51:52 -0800 2008 Remove specs for things that don't need them ri... [kschrader]
directory tasks/ Sun Nov 09 01:13:27 -0800 2008 Upgrade to Merb 1.0. [kschrader]
README.rdoc

Gutenberg

Gutenberg is an ultra-lightweight bit of blogging software based on Merb. I’m planning on replacing Typo with it to power my blog (kurt.karmalab.org).

It’s also a good example of a simple Merb application to learn from. It uses frozen gems so you should be able to check out how Merb works without installing any gems to your system gems directory.

The plan is make something as fast and as lean as possible.

Installation

  • Set your Disqus id in the config/init.rb file.
  • Make sure you have thor installed (‘sudo gem install thor’).
  • Run ‘thor merb:gem:redeploy’ in the root directory to install the gems locally.
  • Set things up in database.yml and create the database to store your data in.
  • Run ’./bin/rake db:autoupgrade’ from the install directory to set up the database tables.
  • Convert your old typo database over using ‘ruby db/converters/typo.rb —db TYPO_DB_NAME’
  • Run the app with ’./bin/merb’

Specs and Features

Gutenberg is tested with Rspec and Cucumber.

Run the specs with "./bin/rake"

Run the Cucumber features with "./bin/rake features"

Currently Implemented Features

  • Posts
  • Markdown
  • Disqus comments
  • Typo import

Todo for v0.1

  • Old comment import into Disqus
  • Ability to authenticate and actually write a new post (kind of important…)
  • RSS Feeds
  • Proper URL redirection from the old Typo URLs

License

(The MIT License)

Copyright © 2008 Kurt Schrader

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.