CoDN Adminpanel

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

Gem Version Build Status Code Climate

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