Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Just Another Blog Engine
Branch: master
Pull request Compare This branch is 69 commits behind pixels-and-bits:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
lib
public
test/dummy
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE.txt
README.textile
Rakefile
VERSION
jabe.gemspec

README.textile

Just Another Blog Engine

What is this?

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

Basic TODOs

Installing

Edit your Gemfile and add the required gems

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'

From your rails root

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
rm public/javascripts/rails.js
rails c
>> Admin.create!(:email => 'you@example.com', :password => 'password', :password_confirmation => 'password')
rails s
login
edit settings

Deploying on Heroku

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

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

Development setup

  • fork it
  • clone it
  • cd jabe/test/dummy
  • bundle install
  • rake

If all the features pass you are good to go.

Something went wrong with that request. Please try again.