Sha256: 2c36195365d3310127fce28ac670dfa5259692ee7e6633836d7996f181b3a7f3

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 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 'gravtastic'
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

1 entries across 1 versions & 1 rubygems

Version Path
jabe-0.5.9 README.textile