adminpanel

This gem has the goal to act as the administration panel for your resources, so you can focus only on the public part of your app

MIT License

Downloads
233.4K
Stars
9
Committers
8

CoDN Adminpanel

This gem uses use the lastest version of Rails. Usage Docs.

Installation

Add this line to your application's Gemfile:

gem 'adminpanel'

And then execute:

$ bundle

Run:

rails g adminpanel:initialize
rake db:migrate

This create and seeds a user to the database (email: '[email protected]', password: 'password').

Optional

Change the path where adminpanel is mounted

# routes.rb
mount Adminpanel::Engine => '/panel'

Change the panel locale

# application.rb
# Adminpanel supported locales :en, :es (pull requests are welcome)
config.i18n.default_locale = :es

Usage

To create a new resource:

rails g adminpanel:resource product name price:float description:wysiwyg

check the Resource Generator docs for more information.

Make sure you read the docs, there is the descriptions of every relevant part of the gem.

Dependencies

  • Imagemagick
  • Ruby 2.1.0+
  • Rails 4.2+

Integrated APIs

Currently the integrations working are:

Any questions, errors or feature suggestions are welcome in the issues

Package Rankings
Top 14.23% on Rubygems.org
Badges
Extracted from project README
CoDN Gem Version Build Status Code Climate
Related Projects