Mercurial > zeropaste
annotate README.md @ 418:a69dd2d37950
Prevent adding unrelated classes and funny characters
author | nanaya <me@myconan.net> |
---|---|
date | Thu, 17 Sep 2015 01:13:14 +0900 |
parents | 731bf8577da6 |
children | 72557a5310d9 |
rev | line source |
---|---|
371 | 1 [![Build Status](https://drone.io/bitbucket.org/nanaya1/zeropaste/status.png)](https://drone.io/bitbucket.org/nanaya1/zeropaste/latest) |
276 | 2 |
36 | 3 Zeropaste |
4 ========= | |
5 | |
203 | 6 A pastebin with some features: create and destroy (with key) pastes. |
411 | 7 The one running on [0paste.com](https://0paste.com). |
36 | 8 |
9 Requirements: | |
10 | |
323
a0166874e31e
Remove jruby and rubinius version.
edogawaconan <me@myconan.net>
parents:
322
diff
changeset
|
11 * Ruby 1.9 or up (JRuby and Rubinius should also work) |
256
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
12 * PostgreSQL |
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
13 (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
|
14 May or may not work with MySQL) |
36 | 15 * Ruby Bundler |
63 | 16 |
17 Optional: | |
18 | |
19 * Newrelic account | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
20 |
203 | 21 Installation |
22 ------------ | |
23 | |
24 Left as an exercise. | |
25 | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
26 Misc |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
27 ---- |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
28 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
29 Pasting from CLI: |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
30 |
411 | 31 ...some commands... | curl 'https://0paste.com/pastes.txt' -F 'paste[paste]=<-' |
89
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
32 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
33 Or with gzip to save bandwidth: |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
34 |
411 | 35 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' |
102 | 36 |
228 | 37 Privately: |
38 | |
411 | 39 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' |
228 | 40 |
102 | 41 Design |
42 ------ | |
43 | |
44 Current design is a bit crap. Suggestions and actual designs are welcome. |