Gem for Creating a full featured Blog in Rails Application [closed]
Asked Answered
R

4

11

I need a gem for creating a Blog in my rails Application. We can write a whole bunch of our code, but for this small task an effective Gem is preferable. Please suggest a good Gem for creating a blog that supports following features :

- Adding static  Blog contents. 
- Feature to have image in blog
- Visitor/Viewer must be able to comment/share the blog 
 ( will be much nicer if can be commented/shared via Facebook account)

I got through Gems like :

-  "Redcloth" (for creating static web pages quickly; quite unsure 
    will it be able to handle image & comment facility. )
-  Gem "dynarex-blog" (for creating blog, but unable to find 
   good tutorial / proper documentation for integrating it with my Application).
Rapacious answered 9/1, 2014 at 9:23 Comment(2)
https://mcmap.net/q/1014212/-rails-blog-engine-closedMunitions
possible duplicate of Blog engine for Rails applicationYam
A
21

Here are some more resources you may benefit from:

Tutorials

Gems


Blog

If I were to create a simple blog app, I'd to this:

  1. Create Post, Category, Tag, Comment, Image models

  2. Use Slugalicious in the routes to route to the posts with routes like: domain.com/blog/your-post-title

  3. Add an admin area (probably with ActiveAdmin || RailsAdmin), but you may wish to create your own with this tutorial

  4. I'd use a WYSIWYG (such as Redactor) for creating the posts in the admin area. Looking at Petekun's post, I'd recommend going for the markdown format structure (keeps everything DRY)

  5. Use CanCan to determine which user roles can write comments etc

  6. Images can be uploaded with Paperclip or Carrierwave

Anglophile answered 9/1, 2014 at 10:39 Comment(2)
The first two links given are not accessibleBreezy
I think CanCan is deprecated and replaced with CanCanCanFluoroscopy
F
3

Assuming you already have an application ready, and would like to add a very minimal 'blog' to it as quickly as possible,

If you just want a drop-in, but comparatively heavy, solution, check out:

(Source: A clean minimal gem to add a simple blog to existing app? [closed])

Ferritin answered 9/1, 2014 at 9:41 Comment(0)
T
2

What you need is https://github.com/jipiboily/monologue. Its one gem that provides all your requirements. For override the sources just copy the content to your rails app folder. Thereby you can use your own style and logic.

Tigress answered 23/7, 2014 at 8:39 Comment(0)
A
0

You might like https://github.com/mixandgo/simple_blog. It's not namespaced from your main app so you can just plug it in as part of your existing rails app.

Aesthetically answered 24/12, 2014 at 13:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.