{"id":16925438,"url":"https://github.com/alejandrodevs/rails_blog","last_synced_at":"2025-03-21T01:28:33.030Z","repository":{"id":67914348,"uuid":"11323840","full_name":"alejandrodevs/rails_blog","owner":"alejandrodevs","description":"A basic blogging rails engine.","archived":false,"fork":false,"pushed_at":"2014-02-05T18:43:56.000Z","size":786,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T21:56:22.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejandrodevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-10T20:42:41.000Z","updated_at":"2016-03-31T16:06:52.000Z","dependencies_parsed_at":"2023-02-20T22:46:21.470Z","dependency_job_id":null,"html_url":"https://github.com/alejandrodevs/rails_blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Frails_blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Frails_blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Frails_blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Frails_blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandrodevs","download_url":"https://codeload.github.com/alejandrodevs/rails_blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244720459,"owners_count":20498799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:10:38.646Z","updated_at":"2025-03-21T01:28:33.009Z","avatar_url":"https://github.com/alejandrodevs.png","language":"Ruby","readme":"# RailsBlog\n\nThis gem aims to provide a simple and basic blogging engine in Rails 4. Fully customizable.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rails_blog'\n\nAnd then execute:\n\n    $ bundle install\n\n## Getting started\n\nAdd this line to your application's Gemfile and execute bundle install:\n\n    gem 'devise', github: 'plataformatec/devise', branch: 'rails4'\n\nRun this generator:\n\n    rails generate rails_blog:install\n\nCopy engine migrations:\n\n    rake rails_blog:install:migrations\n\nRun them:\n\n    rake db:migrate\n\nStart solr server:\n\n    rake sunspot:solr:start\n\nAnd in your routes.rb file add this line:\n\n    mount RailsBlog::Engine =\u003e '/blog'\n\nCreate an admin user in your console:\n\n```ruby\nRailsBlog::Admin.create(name: \"name\", email: \"email\", password: \"password\")\n```\n\n**Enjoy it!**\n\n## Adding post comments\n\nRun this generator and implement post comments in that file:\n\n    rails generate rails_blog:comments:views\n\n**Note:** That view will be rendered in the post show view.\n\n## Sharing posts\n\nRun this generator and add social sharing implementation in that file:\n\n    rails generate rails_blog:sharing:views\n\n**Note:** That view will be rendered in the post show view.\n\n## Overwriting default sidebar views\n\nRun this generator and edit the files:\n\n    rails generate rails_blog:sidebar:views\n\n## Adding sidebar views\n\nThe sidebar views should be in your `app/views/rails_blog/sidebar` folder and they should be configured in the `rails_blog.rb` initializer file.\n\n###### Example...\n\nCreate `_example.html.erb` partial view in your `app/views/rails_blog/sidebar` folder.\n\n```html\n\u003ch1\u003eThis is a sidebar view example\u003c/h1\u003e\n```\n\nConfigure the sidebar view in the `rails_blog.rb` initializer file:\n\n```ruby\nconfig.siderbar_widgets.add :example, order: 4  # \u003c= Add your new sidebar view.\n```\n\n**Note:** The order option refers to the order that the sidebar views will be displayed.\n\nRestart the server and it's done.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Frails_blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrodevs%2Frails_blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Frails_blog/lists"}