Skip to content

oelbrenner/jabe

 
 

Repository files navigation

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.

About

Just Another Blog Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published