view README.md @ 89:de4ce9ce1cc1

Added documentation on posting with gzip.
author Edho Arief <edho@myconan.net>
date Tue, 06 Nov 2012 11:16:47 +0700
parents f43b4d5400ac
children 7a514c733e6c
line wrap: on
line source

Zeropaste
=========

A pastebin without any feature (other than creating pastes).
The one running on [0paste.com](http://0paste.com).

Requirements:

* Rubinius 2.0 (Ruby 1.8/1.9 should also work)
* MySQL
  (nothing MySQL specific - can be easily changed if you know what you're doing)
* Ruby Bundler

Optional:

* Newrelic account

Suggested:

* nginx

Misc
----

Pasting from CLI:

    ...some commands... | curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-'

Or with gzip to save bandwidth:

    ...some commands... | gzip | openssl base64 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip_base64]=<-'