Mercurial > zeropaste
annotate README.md @ 301:2fb00d365745
Add set -x to view commands executed for test.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 12 Feb 2014 15:44:36 +0900 |
parents | d6e94d7d0325 |
children | 2235aa625af0 |
rev | line source |
---|---|
276 | 1 [![Code Climate](https://codeclimate.com/github/edogawaconan/zeropaste.png)](https://codeclimate.com/github/edogawaconan/zeropaste) |
299
d6e94d7d0325
Such test. Much build status. Wow
edogawaconan <me@myconan.net>
parents:
276
diff
changeset
|
2 [![Build Status](https://drone.io/bitbucket.org/edogawaconan/zeropaste/status.png)](https://drone.io/bitbucket.org/edogawaconan/zeropaste/latest) |
276 | 3 |
36 | 4 Zeropaste |
5 ========= | |
6 | |
203 | 7 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
|
8 The one running on [0paste.com](http://0paste.com). |
36 | 9 |
10 Requirements: | |
11 | |
203 | 12 * 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
|
13 * PostgreSQL |
0b5f83d99c54
Update README to reflect database change.
edogawaconan <me@myconan.net>
parents:
228
diff
changeset
|
14 (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
|
15 May or may not work with MySQL) |
36 | 16 * Ruby Bundler |
63 | 17 |
18 Optional: | |
19 | |
20 * Newrelic account | |
21 | |
22 Suggested: | |
23 | |
24 * nginx | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
25 |
203 | 26 Installation |
27 ------------ | |
28 | |
29 Left as an exercise. | |
30 | |
72
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
31 Misc |
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 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
34 Pasting from CLI: |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
35 |
f43b4d5400ac
Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents:
63
diff
changeset
|
36 ...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
|
37 |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
38 Or with gzip to save bandwidth: |
de4ce9ce1cc1
Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents:
72
diff
changeset
|
39 |
227 | 40 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' |
102 | 41 |
228 | 42 Privately: |
43 | |
44 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' | |
45 | |
102 | 46 Design |
47 ------ | |
48 | |
49 Current design is a bit crap. Suggestions and actual designs are welcome. |