Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Just Another Blog Engine

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 jabe.gemspec
README.textile

Just Another Blog Engine

Status

What is this?

JABE is a bare bones blogging engine that is installed as a gem. It will grow as its needs do.

This version is for Rails 3.1+

Installing

Edit your Gemfile and add the required gems

gem 'devise', '>= 2.0.0'
gem 'friendly_id', '>= 4.0.0'
gem 'kaminari', '>= 0.13.0'
gem 'sanitize', '>= 2.0.0'
gem 'rakismet', '>= 1.0.0'

From your rails root

bundle install
rails g devise:install

Follow Devise install directions.

Edit your Gemfile and add JABE

gem 'jabe'

JABE is now mountable, so you can put it wherever you want. Edit routes.rb

mount Jabe::Engine => "/jabe"

From your rails root

rake jabe:install:migrations
rake db:migrate

rails runner "Jabe::Admin.create!(
  :email => 'you@example.com',
  :password => 'password',
  :password_confirmation => 'password'
)"

Upgrading from 0.5.*

Create a new migration to handle the database changes.


  def change
    rename_table :settings, :jabe_settings
    rename_table :admins, :jabe_admins
    rename_table :entries, :jabe_entries
    rename_table :comments, :jabe_comments
    rename_column :jabe_entries, :cached_slug, :slug
  end

TODO

  • Migrate generators
  • Integrate Akismet
  • Add a comment moderation queue?
Something went wrong with that request. Please try again.