Every repository with this icon (
Every repository with this icon (
tree 14d39556b4e0e424417c75ca48398cd855c5f8c6
parent 82af9b60532ac8fefd1dcff0cc9add8679687c96
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Jan 26 13:56:59 -0800 2009 | |
| |
Capfile | Mon Dec 22 09:18:23 -0800 2008 | |
| |
README.markdown | Wed Jun 03 06:35:39 -0700 2009 | |
| |
Rakefile | Tue Oct 07 07:20:23 -0700 2008 | |
| |
app/ | Sat Aug 08 17:47:05 -0700 2009 | |
| |
config/ | Wed Aug 05 09:31:38 -0700 2009 | |
| |
db/ | Sun May 03 21:36:02 -0700 2009 | |
| |
doc/ | Thu Jan 29 12:40:16 -0800 2009 | |
| |
lib/ | Mon Jul 20 13:16:46 -0700 2009 | |
| |
log/ | Tue Oct 07 07:20:23 -0700 2008 | |
| |
public/ | Sun Jul 19 15:58:38 -0700 2009 | |
| |
script/ | Tue Oct 07 07:20:23 -0700 2008 | |
| |
test/ | Tue Apr 28 11:56:23 -0700 2009 | |
| |
vendor/ | Fri Jul 10 07:24:51 -0700 2009 |
roll_my_blog
Introduction
This is a lightweight blogging platform built on Ruby on Rails. This application is really really lightweight and it does not do a lot of things.
Features
Reason why I created my own blogging engine was to cache as much as possible. A user who is not logged in should be able to get everything he/she wants from apache. Rails will handle only two things: posting a comment and search. Besides these two things everything else will be served by apache. And that's a big gain.
Only one user is supported.
Only way to login is to have an openid account.
Only Redcloth is supported.
no support for trackback.
Comment spam is handled by not storing the email address of the comment author. In the last 18 months I have not received a single spam using this mechanism. It works.
Tag an article.
HOW TO
Login: Got to www.domain.com/blog/login
Edit a blog: Login first. Then go to the url of the blog. At the top of the url add '/edit' and then submit this url.
Edit a comment: Login and then go to http://localhost:3000/admin_data
Delete a comment: Login and then go to http://localhost:3000/admin_data
Live Demo
My blog is powered by this application.
How to install
You must have Rails 2.3.2 installed
sudo gem install ruby-openid
sudo gem install capistrano
sudo gem install capistrano-ext
mv config/database.yml.sqlite3 config/database.yml
mv config/preference.yml.example config/preference.yml
# take a look at preference.yml and change settings like facebook id, openid, rss feed etc.
# update app/views/page/about.html.erb with your information
rake db:create
rake db:migrate
rake db:generate_fake_data
ruby script/server
Go to http://localhost:3000 and it should be working
Feedback
Email me: neerajdotname [at] gmail (dot) com
License
Copyright (c) 2009 neerajdotname
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.







