Skip to content

Instantly share code, notes, and snippets.

@rjungemann
Created January 27, 2010 23:43
Show Gist options
  • Save rjungemann/288283 to your computer and use it in GitHub Desktop.
Save rjungemann/288283 to your computer and use it in GitHub Desktop.
The Parabox, WebDAV-powered app editing
# This exposes the root folder of your app through WebDAV, for remote editing.
# * I still need to implement http basic auth http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/
# * I want to find a DAV-powered way to restart the app once changes have been made....
require 'rubygems'
require "rack_dav"
use Rack::CommonLogger
run RackDAV::Handler.new(:root => File.dirname(__FILE__))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment