Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 64 lines (37 sloc) 1.468 kB
65fe690 @txus first commit
txus authored
1 #gram
2
3 Gram is an internal administration tool for Codegram.
4
5 It is composed of independent components. For now the only available component is Blog. To install and setup Gram, just do the following:
6
7 $ echo "token: MY_CODEGRAM_TOKEN" > ~/.gramrc
8 $ gem install gram
9
10 ##Blog component
11
12 To publish a blogpost, type this:
13
14 $ gram blog my_blogpost.markdown
15
16 The `my_blogpost.markdown` file should be a regular markdown file with some headers in it, like this:
17
18 ---
19 title: My blog post title
20 tagline: Stranger than fiction
21 ---
22
23 # My awesome header
24 ## More markdown goodness, etc.
25
c1c50c4 @txus 0.2.0 - Enable minitest and mocha by default
txus authored
26 ##Gem component
27
28 To bootstrap a new gem, type this:
29
30 $ gram gem create my_gem
31
30e803e @txus Words do have meaning
txus authored
32 By default, the new gem will be using Minitest/Spec & Mocha. If you prefer RSpec:
c1c50c4 @txus 0.2.0 - Enable minitest and mocha by default
txus authored
33
34 $ gram gem create my_gem --rspec
35
36 And if you want to create a Rails extension or anything requiring ActiveRecord,
37 just use the `--rails` option:
38
39 $ gram gem create my_gem --rails
40
41 This will add the required dependencies and enable the test suite to use
42 ActiveRecord with in-memory sqlite :)
43
8c835ac @txus Gram SSH: Share your clipboard through SSH with your friends
txus authored
44 ##SSH component
45
46 Put your peers in your `.gramrc`:
47
48 token: 289347287365872whatever
49 peers:
50 john: 192.168.1.43
51 jimmy: 192.168.1.99
52
53 To paste your clipboard's content to your peer's:
54
55 $ gram ssh paste john
56
57 You can also broadcast your clipboard's content to all your peers:
58
59 $ gram ssh broadcast
60
65fe690 @txus first commit
txus authored
61 ## Copyright
62
63 Copyright (c) 2011 Codegram. See LICENSE for details.
Something went wrong with that request. Please try again.