annotate README.md @ 487:5246edd5b8ad

Update gems and remove jruby support
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 01:42:57 +0900
parents 6cac8fcf8164
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 Zeropaste
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 =========
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
4 A pastebin with some features: create and destroy (with key) pastes.
411
731bf8577da6 The world hates .tk :(
nanaya <me@myconan.net>
parents: 406
diff changeset
5 The one running on [0paste.com](https://0paste.com).
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 Requirements:
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8
485
6cac8fcf8164 Update to rails 7 (and ruby 3.1)
nanaya <me@nanaya.pro>
parents: 483
diff changeset
9 * Ruby 3.1 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
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 * Ruby Bundler
63
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
14
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
15 Optional:
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
16
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
17 * Newrelic account
72
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
18
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
19 Installation
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
20 ------------
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
21
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
22 Left as an exercise.
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
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
731bf8577da6 The world hates .tk :(
nanaya <me@myconan.net>
parents: 406
diff changeset
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
483
02d043b1967d Accept file upload instead of binary gzip parameter
nanaya <me@nanaya.pro>
parents: 436
diff changeset
33 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=@-'
102
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
34
228
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
35 Privately:
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
36
483
02d043b1967d Accept file upload instead of binary gzip parameter
nanaya <me@nanaya.pro>
parents: 436
diff changeset
37 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'
228
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
38
102
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
39 Design
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
40 ------
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
41
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
42 Current design is a bit crap. Suggestions and actual designs are welcome.