etsy/deployinator

Auth problems

NoodlesNZ opened this issue · 4 comments

So far I've downloaded deployinator and installed all the packages needed to run it but I'm having trouble getting past the auth so I can actually view a page.

I've setup GodAuth, but I realize that deployinator is meant to work with a system like GodAuth. Is there a write up somewhere on how to get deployinator working for the average dummy? Or at least a way to circumvent the auth system so I can see deployinator running in development?

Deployinator has this concept of auth free URLs. You can add patterns there which will work without authentication.

or comment out the if block here

patches more than welcome for docs on getting another auth system setup, the one we use is specific to etsy but simply passes headers in when auth'd

1.how to add patterns?could write a example?
2.i comment out the if block
# if @username == "nobody" && ! request.path_info.match(OK_PATH_REGEX)
# raise "Must be logged in"
# end
then rackup, but still error
RuntimeError - Must be logged in:
/opt/etsy-deployinator-790cdef/helpers.rb:23:in init' /opt/etsy-deployinator-790cdef/lib/app.rb:17:inblock in class:App'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:700:in instance_eval' /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:700:inblock in filter!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:700:in each' /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:700:infilter!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:842:in dispatch!' /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:inblock in call!'
...

thanks

this issue persists, why is this closed?