Sha256: 98cc6b836ff39fa8563421b1447934208d3cfaf71aa31224f6356c119a3bf679
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
h1. Just Another Blog Engine h2. Status "!https://codeclimate.com/badge.png!":https://codeclimate.com/github/pixels-and-bits/jabe h3. 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+ h2. Installing Edit your Gemfile and add the required gems <pre><code>gem 'devise', '>= 2.0.0' gem 'friendly_id', '>= 4.0.0' gem 'kaminari', '>= 0.13.0' gem 'sanitize', '>= 2.0.0' </code></pre> From your rails root <pre><code>bundle install rails g devise:install </code></pre> Follow Devise install directions. Edit your Gemfile and add JABE <pre><code>gem 'jabe' </code></pre> JABE is now mountable, so you can put it wherever you want. Edit routes.rb <pre><code>mount Jabe::Engine => "/jabe" </code></pre> From your rails root <pre><code>rake jabe:install:migrations rake db:migrate rails runner "Jabe::Admin.create!( :email => 'you@example.com', :password => 'password', :password_confirmation => 'password' )" </code></pre> h2. Upgrading from 0.5.* Create a new migration to handle the database changes. <pre><code> 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 </code></pre> h2. TODO * Migrate generators * Integrate Akismet * Add a comment moderation queue?
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jabe-0.9.1 | README.textile |
jabe-0.9.0 | README.textile |