Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/briangonzalez/sinatra-webdav-neue
A Sinatra-based webdav server powered by rack_dav.
https://github.com/briangonzalez/sinatra-webdav-neue
Last synced: 21 days ago
JSON representation
A Sinatra-based webdav server powered by rack_dav.
- Host: GitHub
- URL: https://github.com/briangonzalez/sinatra-webdav-neue
- Owner: briangonzalez
- Created: 2013-08-07T18:40:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-08T19:57:27.000Z (about 11 years ago)
- Last Synced: 2024-08-06T03:05:52.134Z (3 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Sinatra Webdav Neue
A Sinatra-based webdav server powered by rack_dav.
### How to
Fire up a terminal and:
```bash
$ git clone [email protected]:briangonzalez/sinatra-webdav-neue.git
$ bundle install
$ bundle exec thin start -R config.ru -p 9000
```You now have a webdav server running on port 9000 of your machine.
### Running behind nginx
You'll first off need to install the nginx and the [nginx-dav-ext-module](https://github.com/arut/nginx-dav-ext-module) module on your server, as well as [passenger](https://www.phusionpassenger.com/). A typical nginx server block might look like so:
```nginx
server {
listen 80;
server_name cloud.myserver.com;root /srv/www/sinatra-webdav-neue/current/public;
access_log /srv/www/sinatra-webdav-neue/logs/access.log;
error_log /srv/www/sinatra-webdav-neue/logs/error.log;passenger_enabled on;
rails_env production;
}
```Also see [docs on installing passenger with nginx](http://www.modrails.com/documentation/Users%20guide%20Nginx.html) to power your webdav install.
### Contact
Find me on twitter [@brianmgonzalez](http://twitter.com/brianmgonzalez).