Sha256: f18ef3d709b0a93fb41ff72de6410cdaedef8d4733b3d3d7c853de71c756b10c

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

h1. Just Another Blog Engine

h3. What is this?

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

h2. Basic TODOs

  * Comment notifications

h2. Installing

Edit your Gemfile and add the required gems

<pre><code>gem 'devise'
gem 'friendly_id', '3.1.8'
gem 'formtastic', '>= 1.2.3.beta'
gem 'haml', '>= 3.0.23'
gem 'haml-rails'
gem 'jabe'
gem 'jquery-rails'
gem 'RedCloth'
gem 'sass', '>= 3.1.0.alpha.206'
gem 'will_paginate', '>= 3.0.pre2'
</code></pre>

From your rails root

<pre><code>bundle install
rails plugin install http://github.com/defunkt/acts_as_textiled.git
rails g devise:install
rails g jabe:migrations
rake db:migrate
rm app/views/layouts/*
rm public/index.html
rails c
>> Admin.create!(:email => 'you@example.com', :password => 'password', :password_confirmation => 'password')
rails s
login
edit settings
</code></pre>

h2. Deploying on Heroku

There are a couple changes you need to make to deploy on Heroku.

  * In produciton.rb set <code>config.serve_static_assets = true</code>
  * Add an initializer for Sass config/initializers/zz-sass.rb
    <code>Sass::Plugin.options[:never_update] = true</code>
  * Generate the stylesheets
    <code>rails g jabe:stylesheets</code>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jabe-0.5.8 README.textile
jabe-0.5.7 README.textile
jabe-0.5.6 README.textile
jabe-0.5.5 README.textile