Mercurial > zeropaste
annotate README.md @ 256:0b5f83d99c54
Update README to reflect database change.
author | edogawaconan <me@myconan.net> |
---|---|
date | Mon, 14 Oct 2013 17:51:27 +0000 |
parents | 4a79bc78e90e |
children | 42e70577c962 |
rev | line source |
---|---|
36 | 1 Zeropaste |
2 ========= | |
3 | |
203 | 4 A pastebin with some features: create and destroy (with key) 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 | |
203 | 9 * Ruby 1.9 or up (JRuby 1.7 and Rubinius 2.0 should also work) |
256
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
10 * PostgreSQL |
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
11 (nothing PostgreSQL specific - can be easily changed if you know what you're doing. |
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
12 May or may not work with MySQL) |
36 | 13 * Ruby Bundler |
63 | 14 |
15 Optional: | |
16 | |
17 * Newrelic account | |
18 | |
19 Suggested: | |
20 | |
21 * nginx | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
22 |
203 | 23 Installation |
24 ------------ | |
25 | |
26 Left as an exercise. | |
27 | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
28 Misc |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
29 ---- |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
30 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
31 Pasting from CLI: |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
32 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
33 ...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
|
34 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
35 Or with gzip to save bandwidth: |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
36 |
227 | 37 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' |
102 | 38 |
228 | 39 Privately: |
40 | |
41 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' | |
42 | |
102 | 43 Design |
44 ------ | |
45 | |
46 Current design is a bit crap. Suggestions and actual designs are welcome. |