Coder Social home page Coder Social logo

active_admin's Introduction

Active Admin

Active Admin is a framework for creating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very little effort.

<img src=“http://travis-ci.org/gregbell/active_admin.png” />

Help / Support / Demo

Goals

  1. Allow developers to quickly create gorgeous administration interfaces <strong>(Not Just CRUD)</strong>

  2. Build a DSL for developers and an interface for businesses.

  3. Ensure that developers can easily customize every nook and cranny of the interface.

  4. Build common interfaces as shareable gems so that the entire community benefits.

Getting Started

Active Admin is released as a Ruby Gem. The gem is to be installed within a Ruby on Rails 3 application. To install, simply add the following to your Gemfile:

# Gemfile in Rails < 3.1
gem 'activeadmin'

If you are using Rails >= 3.1, you must also have sass-rails in your Gemfile:

# Gemfile in Rails >= 3.1
gem 'activeadmin'
gem 'sass-rails'

After updating your bundle, run the installer

$> rails generate active_admin:install

The installer creates an initializer used for configuring defaults used by Active Admin as well as a new folder at app/admin to put all your admin configurations.

Migrate your db and start the server:

$> rake db:migrate
$> rails server

Visit localhost:3000/admin and log in using:

Voila! You’re on your brand new Active Admin dashboard.

To register your first model, run:

$> rails generate active_admin:resource [MyModelName]

This creates a file at app/admin/my_model_names.rb for configuring the resource. Refresh your web browser to see the interface.

Next Steps

The best place to get documentation is at activeadmin.info/documentation.html.

To view a sample Active Admin application, checkout demo.activeadmin.info

If you have any questions, please email the mailing list at groups.google.com/group/activeadmin

Tools Being Used

We believe strongly in not writing code unless we have to, so Active Admin is built using many other open source projects:

InheritedResources

Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.

Formtastic

A DSL for semantically building amazing forms.

Devise

User authentication is done using Devise

Kaminari

Pagination for rails apps

Iconic Icons

Excellent SVG icon set designed by P.J. Onori: somerandomdude.com/projects/iconic

Roadmap & Issue Tracking

We are using the awesome Github issues! Please submit bugs or features to github.com/gregbell/active_admin/issues

Note on Patches/Pull Requests

  • Fork the project.

  • Make a NEW TOPIC BRANCH, then make your feature addition or bug fix

  • Add specs and cukes for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history.

  • Send a pull request.

Copyright © 2010 Greg Bell, VersaPay Corporation. See LICENSE for details.

active_admin's People

Contributors

gregbell avatar mattvague avatar pcreux avatar ebeigarts avatar felixbuenemann avatar fabiokr avatar jeremyruppel avatar samvincent avatar nicolas-simplex avatar samuelreh avatar whatthewhat avatar damrbaby avatar dkubb avatar emzeq avatar dougpuchalski avatar webmat avatar tricknotes avatar doabit avatar knoopx avatar vijaydev avatar ceccec avatar pda avatar kieranklaassen avatar joerichsen avatar simi avatar jbarket avatar hvirring avatar behrends avatar alno avatar bendik avatar

Stargazers

Boris Kozak avatar

Watchers

Boris Kozak avatar James Cloos avatar

Forkers

martycornish

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.