Mercurial > zeropaste
view README.md @ 303:5e16fc534c76
Update gems.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 19 Feb 2014 13:04:48 +0900 |
parents | d6e94d7d0325 |
children | 2235aa625af0 |
line wrap: on
line source
[![Code Climate](https://codeclimate.com/github/edogawaconan/zeropaste.png)](https://codeclimate.com/github/edogawaconan/zeropaste) [![Build Status](https://drone.io/bitbucket.org/edogawaconan/zeropaste/status.png)](https://drone.io/bitbucket.org/edogawaconan/zeropaste/latest) Zeropaste ========= A pastebin with some features: create and destroy (with key) pastes. The one running on [0paste.com](http://0paste.com). Requirements: * Ruby 1.9 or up (JRuby 1.7 and Rubinius 2.0 should also work) * PostgreSQL (nothing PostgreSQL specific - can be easily changed if you know what you're doing. May or may not work with MySQL) * Ruby Bundler Optional: * Newrelic account Suggested: * nginx Installation ------------ Left as an exercise. Misc ---- Pasting from CLI: ...some commands... | curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-' Or with gzip to save bandwidth: ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' Privately: ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' Design ------ Current design is a bit crap. Suggestions and actual designs are welcome.