Project

blogr

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Rails engine for adding blogging to any Rails 4 application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

Runtime

>= 3.1.2
>= 0.9.0
>= 4.0.4
>= 1.2
>= 3.0.0
>= 3.6.0
>= 0.5.0
>= 4.0.0
>= 3.0.0
>= 1.1.3
 Project Readme

Blogr

A Rails engine for adding blogging to any Rails 4 application.

This project is unmaintained

Some code from pixelbits/simpleblog.

Blogr is a framework for your blog with an admin. You are required to create the blog frontend.

For a working & in production preview, see Rails Tuts. The source of the site is on GitHub.

To install

  1. Add blogr to your Gemfile & run bundle install

    gem "blogr"
  2. Run the setup generator to add blogr to routes.rb and to add some config files

    rails g blogr:setup
    
  3. Run the database migrations and

    rake db:migrate blogr:setup
    
  4. Insert into your db/seeds.rb file command Blogr::Engine.load_seed and create a Blogr user

rake db:seed
  1. Run the server and open localhost:3000/blogr to see the Blogr interface.
rails s

Importing Posts

I am currently working on some importing tools for importing posts from other blogging platforms.

WordPress

This imports categories and posts from your WordPress blog.

  • Login to your WordPress blog, go to Tools > Export and download the XML file
  • Open up the Rails console - rails console
  • Run the importer
Blogr::Import.wordpress("path-to-your-export.xml")

Ghost

This imports categories and posts from your Ghost blog.

  • Login to your Ghost blog, add debug to the end of the URL and click Export
  • Open up the Rails console - rails console
  • Run the importer
Blogr::Import.ghost("path-to-your-export.json")