Giter VIP home page Giter VIP logo

administration-zero's Introduction

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: "[email protected]", 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.

administration-zero's People

Contributors

lazaronixon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

administration-zero's Issues

Search feature?

Would it be possible to add a search functionality? The README links to Ransack, but no search box is visible in the screenshot. I did not manage to generate an app to have a look myself.

How would you compare this gem to Administrate?

No admin route

Thanks for this new gem! I generated an app as follows:

rails new --javascript=esbuild demoapp && cd demoapp
rails generate model post title:string body:text published:boolean
bundle add administration-zero
rails db:migrate db:seed
rails generate admin:scaffold post title:string body:text published:boolean
bin/dev

However, unlike the README states, no /admin route is created, and if I visit http://localhost:3000/admin/posts, I get uninitialized constant Admin::ApplicationController thrown at the top of Admin::PostsController.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.