/administration-zero

An administration system generator for Rails applications.

Primary LanguageHTMLMIT LicenseMIT

Administration Zero

The purpose of administration zero is to generate a pre-built administration panel into a rails application.

screenshot

Features

Installation

bundle add administration-zero

Usage

rails generate admin:install

Then run bundle install

Then run rails db:migrate db:seed

You can access the admin panel in /admin, using email: "admin@example.com", password: "Password9957"

You'll need to create a model to be administrated, if you don't have one. for this example let's use the following:

rails generate model posts title:string body:text published:boolean

Now you're ready to generate your admin scaffolds.

rails generate admin:scaffold posts title:string body:text published:boolean

Development

To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lazaronixon/administration-zero. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the AdministrationZero project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.