Thank you for considering this gem, we are going to use the lastest Rails version of Rails. make sure you can use it before trying this gem out.
Add this line to your application's Gemfile:
And then execute:
rails g adminpanel:initialize rake db:migrate
This create and seeds a user to the database (email: 'firstname.lastname@example.org', password: 'password').
And mount the gem wherever you like!
mount Adminpanel::Engine => '/panel'
In you application.rb
config.i18n.default_locale = :es # or :en
no other language is currently supported, but pull requests are welcome.
To create a new resource:
rails g adminpanel:resource product name price:float description:wysiwyg
check the Resource Generator wiki. for more information.
Make sure you read the wiki, there is the descriptions of every relevant part of the gem.
Please make sure that you have ImageMagick -v 2.13.2 installed before trying to use the gem.
Currently the integrations working are:
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Any questions, errors or feature suggestions are welcome in the issues