https://github.com/codelation/blogelator
Add a blog to a Rails app
https://github.com/codelation/blogelator
Last synced: 3 months ago
JSON representation
Add a blog to a Rails app
- Host: GitHub
- URL: https://github.com/codelation/blogelator
- Owner: codelation
- License: mit
- Created: 2014-02-21T18:45:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T18:37:31.000Z (over 9 years ago)
- Last Synced: 2025-11-30T02:24:39.538Z (6 months ago)
- Language: Ruby
- Homepage:
- Size: 13.8 MB
- Stars: 16
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blogelator
[](https://codeclimate.com/github/codelation/blogelator)
Blogelator is a Ruby gem for adding a blog to a Rails project.
## Installation
Add this line to your application's Gemfile:
```ruby
gem "blogelator"
```
Install the Blogelator gem with Bundler:
```bash
bundle install
```
Install the controller, views, and database migrations:
```bash
rails g blogelator:install
rake db:migrate
```
### Active Admin
Blogelator registers the blog posts with [Active Admin](http://activeadmin.info) to
provide the editing interface for your blog posts. Everything works best if you
are using Active Admin and if `current_admin_user` is used to return an authenticated
user who can manage the blog posts when signed in.
If you're not using Active Admin, it should be pretty easy to create a simple interface
for managing your blog posts. The reason the old admin interface was removed was to
simplify the project and remove authorization methods that don't belong in this gem.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request