Created
January 27, 2010 23:43
-
-
Save rjungemann/288283 to your computer and use it in GitHub Desktop.
The Parabox, WebDAV-powered app editing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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