Every repository with this icon (
Every repository with this icon (
tree 57ebe32fa65837edacd4134a7b815770736cb5de
parent d5566b678947ff41c46db624b8b199bddfe8484b
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Nov 24 17:44:54 -0800 2008 | |
| |
README.rdoc | Tue Dec 02 22:38:31 -0800 2008 | |
| |
Rakefile | Sun Nov 09 01:13:27 -0800 2008 | |
| |
app/ | Tue Nov 25 22:26:22 -0800 2008 | |
| |
autotest/ | Tue Dec 02 14:49:06 -0800 2008 | |
| |
bin/ | Tue Dec 02 14:49:06 -0800 2008 | |
| |
config/ | Tue Dec 02 18:57:36 -0800 2008 | |
| |
db/ | Sun Jul 06 19:04:25 -0700 2008 | |
| |
doc/ | Sun Nov 09 01:13:27 -0800 2008 | |
| |
features/ | Tue Dec 02 17:45:31 -0800 2008 | |
| |
gems/ | Tue Dec 02 14:49:06 -0800 2008 | |
| |
lib/ | Tue Dec 02 14:49:06 -0800 2008 | |
| |
merb/ | Sun Nov 09 01:13:27 -0800 2008 | |
| |
public/ | Tue Nov 25 22:31:02 -0800 2008 | |
| |
spec/ | Tue Nov 25 00:51:52 -0800 2008 | |
| |
tasks/ | Sun Nov 09 01:13:27 -0800 2008 |
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.







