Skip to content

Commit

Permalink
Better info on auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlea committed Mar 9, 2012
1 parent 215ee9a commit b5716b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Gem in a box is a simple [sinatra][sinatra] app to allow you to host your own in-house gems.

It has no security, or authentication so you should handle this yourself.
Authentication it left up to either the web server, or to your Rack app. For basic auth, use [Rack::Auth](http://rack.rubyforge.org/doc/Rack/Auth/Basic.html).

## Server Setup

Expand All @@ -17,7 +17,7 @@ Create a config.ru as follows:
require "rubygems"
require "geminabox"

Geminabox.data = "/var/geminabox-data" # or wherever
Geminabox.data = "/var/geminabox-data" # ... or wherever
run Geminabox

And finally, hook up the config.ru as you normally would ([passenger][passenger], [thin][thin], [unicorn][unicorn], whatever floats your boat).
Expand Down

0 comments on commit b5716b6

Please sign in to comment.