Mercurial > zeropaste
annotate README.md @ 481:88fd5722fcb3
Update defaults
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 19:45:05 +0900 |
parents | 72557a5310d9 |
children | 02d043b1967d |
rev | line source |
---|---|
36 | 1 Zeropaste |
2 ========= | |
3 | |
203 | 4 A pastebin with some features: create and destroy (with key) pastes. |
411 | 5 The one running on [0paste.com](https://0paste.com). |
36 | 6 |
7 Requirements: | |
8 | |
436 | 9 * Ruby 2.2 or up (JRuby and Rubinius may 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 | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
18 |
203 | 19 Installation |
20 ------------ | |
21 | |
22 Left as an exercise. | |
23 | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
24 Misc |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
25 ---- |
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 Pasting from CLI: |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
28 |
411 | 29 ...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
|
30 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
31 Or with gzip to save bandwidth: |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
32 |
411 | 33 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' |
102 | 34 |
228 | 35 Privately: |
36 | |
411 | 37 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' |
228 | 38 |
102 | 39 Design |
40 ------ | |
41 | |
42 Current design is a bit crap. Suggestions and actual designs are welcome. |