Mercurial > zeropaste
annotate README.md @ 179:b1aa7865bc7f
Added paste id data to markup.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Fri, 01 Feb 2013 22:37:06 +0700 |
parents | 7a514c733e6c |
children | de168fde2df2 |
rev | line source |
---|---|
36 | 1 Zeropaste |
2 ========= | |
3 | |
4 A pastebin without any feature (other than creating pastes). | |
62
de8da13eb7a6
Added link to running website in readme.
Edho Arief <edho@myconan.net>
parents:
36
diff
changeset
|
5 The one running on [0paste.com](http://0paste.com). |
36 | 6 |
7 Requirements: | |
8 | |
9 * Rubinius 2.0 (Ruby 1.8/1.9 should also work) | |
10 * MySQL | |
63 | 11 (nothing MySQL specific - can be easily changed if you know what you're doing) |
36 | 12 * Ruby Bundler |
63 | 13 |
14 Optional: | |
15 | |
16 * Newrelic account | |
17 | |
18 Suggested: | |
19 | |
20 * nginx | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
21 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
22 Misc |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
23 ---- |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
24 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
25 Pasting from CLI: |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
26 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
27 ...some commands... | curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-' |
89
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
28 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
29 Or with gzip to save bandwidth: |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
30 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
31 ...some commands... | gzip | openssl base64 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip_base64]=<-' |
102 | 32 |
33 Design | |
34 ------ | |
35 | |
36 Current design is a bit crap. Suggestions and actual designs are welcome. |