thiagofm/memcached-manager

View on GitHub
README.rdoc

Summary

Maintainability
Test Coverage
{<img src="https://github.com/memcached-manager/memcached-manager/blob/master/lib/public/images/logo.png" />}[https://www.github.com/memcached-manager/memcached-manager]

A single-page sinatra memcached manager/admin that allows you to read stats, view, edit and create keys from memcached. Also easily pluggable to a Rails/Rack app.

{<img src="https://travis-ci.org/memcached-manager/memcached-manager.png" />}[https://travis-ci.org/memcached-manager/memcached-manager] {<img src="https://codeclimate.com/github/thiagofm/memcached-manager.png" />}[https://codeclimate.com/github/thiagofm/memcached-manager]

== Installing & running

1. Install the gem.

    gem install memcached-manager
    
2. Run memcached-manager with your memcached up

    memcached-manager

If you are running memcached on a different host/port than its defaults(locahost:11211)

    memcached-manager -H foo.bar -P 1337

or

    memcached-manager --memcached-host foo.bar --memcached-port 1337

== Plugging memcached manager to an existing Rails app

Add it to your +Gemfile+:

    gem 'memcached-manager'

Run:
    
    bundle install

Now mount it in +config/routes.rb+:

    mount MemcachedManager::Routes, :at => '/mm'

So it will be accessible in the +/mm+ route of your application.


If you want to specify a different config than the defaults(localhost:11211) add an +.env+ file with the following:

    memcached_host: foo.bar
    memcached_port: 1337

== Requirements

    Ruby >= 1.93
    Memcached (of course)

== Contributing to Memcached Manager
 
See +CONTRIBUTING.md+

== Contributors

* Ami[mailto:ami_sama@hotmail.com] (made the logo)

== Maintainers

* thiagofm[http://github.com/thiagofm]

== Copyright

Copyright (c) 2013-2016 Thiago Fernandes Massa. See +LICENSE.txt+ for
further details.