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
This gem uses use the lastest version of Rails. Usage Docs.
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').
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
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.
Currently the integrations working are:
Any questions, errors or feature suggestions are welcome in the issues