Sha256: 026fdcf270aae3fed4914147e6e2de8cbc33d74b2c632d682137211f09e71b39

Contents?: true

Size: 922 Bytes

Versions: 4

Compression:

Stored size: 922 Bytes

Contents

# RolloutUi2

Rollout UI for Rollout 2!

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rollout_ui2'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rollout_ui2


## Usage

Edit `config.ru` and add this:

```ruby
# config.ru

require 'rollout_ui2'

require 'redis'
RolloutUi2.wrap(Rollout.new(Redis.new))

RolloutUi2::Server.use Rack::Auth::Basic do |user, pass|
  user == pass
end

run Rack::URLMap.new(
  # "/" => Your::App.new,
  "/rollout" => RolloutUi2::Server
)
```

Execute `rackup` or `rails s` if you are using Rails

Visit `http://user:user@localhost:9292/rollout`

![screehshot](http://i.imgur.com/gQLOmAD.png)

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/weapp/rollout_ui2.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rollout_ui2-0.5.0 README.md
rollout_ui2-0.4.0 README.md
rollout_ui2-0.3.0 README.md
rollout_ui2-0.2.0 README.md