<commit_before>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
  * News feed

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 => '<EMAIL>', :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 config.serve_static_assets = true
  * 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><commit_msg>enough readme futzing for now<commit_after>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
  * News feed

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 => '<EMAIL>', :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>
{'fraction_non_alphanumeric': 0.1279843444227006, 'fraction_numerical': 0.0187866927592955, 'mean_word_length': 4.347280334728033, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3984487', 'n_tokens_mistral': 939, 'n_tokens_neox': 897, 'n_words': 291}