Sha256: 53ff9ee830b8a18d91aa411a05e580338878cc5b4a1dde6e71450f48d59aa430

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# Outlet

Component that stores results from the Opener Web Services chain into a SQLite 
Database and shows them into your browser.


## Installation

### As part of a Gemfile in a Ruby application

Add this line to your application's Gemfile:

    gem 'opener-outlet',
        :git=>"git@github.com:opener-project/outlet.git"

And then execute:

    $ bundle install

## Usage

The Opener Outlet comes equipped with a simple webservice. To start the
webservice type:

    outlet-server

This will launch a mini webserver with the webservice. It defaults to port 9292,
so you can access it at:

    http://localhost:9292

To launch it on a different port provide the ```-p [port-number]``` option like
this:

    opinion-detector-server -p 1234

It then launches at ```http://localhost:1234```

When you run a chain of web services using callbacks, the last URL should be the
one that points to the Outlet Web Service. A unique id is generated and once the
chain has finished processing the text, you can view the result in the URL that
you get.

## Contributing

### Procedure

1. Pull it
2. Create your feature branch (`git checkout -b features/my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin features/my-new-feature`)
5. If you're confident, merge your changes into master.

# What's next? 

If you're interested in the opener-outlet, you also might want to check
out opener-project/outlet.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opener-outlet-1.0.1 README.md
opener-outlet-1.0.0 README.md