https://github.com/codn/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
https://github.com/codn/adminpanel
gem rails ruby
Last synced: 12 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/codn/adminpanel
- Owner: codn
- License: mit
- Created: 2013-11-26T15:59:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T00:19:44.000Z (about 6 years ago)
- Last Synced: 2024-04-24T15:26:29.883Z (about 2 years ago)
- Topics: gem, rails, ruby
- Language: JavaScript
- Homepage: http://codn.github.io/adminpanel
- Size: 9.36 MB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [](http://www.codn.mx "CoDN") Adminpanel
This gem uses use the lastest version of Rails. [Usage Docs](http://codn.github.io/adminpanel).
[](http://badge.fury.io/rb/adminpanel)
[](https://travis-ci.org/codn/adminpanel)
[](https://codeclimate.com/github/codn/adminpanel)
## 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: 'admin@admin.com', 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](http://codn.github.io/adminpanel/generator/resource) for more information.
Make sure you [read the docs](http://codn.github.io/adminpanel), 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:
* [Facebook Share Link to Wall](http://codn.github.io/adminpanel/module/facebook)
* [Instagram API](http://codn.github.io/adminpanel/module/instagram)
Any questions, errors or feature suggestions [are welcome in the issues](https://github.com/codn/adminpanel/issues/new)