Sha256: 5c1371de5bc52ad42f73324c8c0410c60f3fee301c4878d9a43979c83512fe39

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 KB

Contents

# MerbAdmin

**MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.**

It currently offers the features listed [here](http://sferik.tadalist.com/lists/1352791/public).

The status of the current build can be seen [here](http://runcoderun.com/sferik/merb-admin).

## Get it

At the command prompt, type:

    sudo gem install merb-admin -s http://gemcutter.org

## Install it

In your app, add the following dependency to `config/dependencies.rb`:

    dependency "merb-admin", "0.4.8"

Add the following route to `config/router.rb`:

    add_slice(:merb_admin, :name_prefix => nil, :path_prefix => "admin", :default_routes => false)

Then, run the following rake task:

    rake slices:merb-admin:install

## Configure it (optional)

If you're feeling crafty, you can set a couple configuration options in `config/init.rb`:

    Merb::BootLoader.before_app_loads do
      Merb::Slices::config[:merb_admin][:app_name] = "My App"
      Merb::Slices::config[:merb_admin][:per_page] = 100
    end

## Run it

Start the server:

    merb

You should now be able to administer your site at [http://localhost:4000/admin](http://localhost:4000/admin).

Please report any problems you encounter to <sferik@gmail.com> or [@sferik](http://twitter.com/home/?status=@sferik%20) on Twitter.

## WARNING

MerbAdmin does not implement any authorization scheme. Make sure to apply authorization logic before deploying to production!

## Acknowledgements

Many thanks to:

* [Wilson Miner](http://www.wilsonminer.com) for contributing the stylesheets and javascripts from [Django](http://www.djangoproject.com)
* [Aaron Wheeler](http://fightinjoe.com/) for contributing libraries from [Merb AutoScaffold](http://github.com/fightinjoe/merb-autoscaffold)
* [Lori Holden](http://loriholden.com/) for contributing the [merb-pagination](http://github.com/lholden/merb-pagination) helper

Also, thanks to [beer](http://www.21st-amendment.com).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb-admin-0.4.8 README.markdown