Project

gram

0.0
No commit activity in last 3 years
No release in over 3 years
Internal client for Codegram administration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.7
~> 2.5.0

Runtime

 Project Readme

#gram

Gram is an internal administration tool for Codegram.

It is composed of independent components. For now the only available component is Blog. To install and setup Gram, just do the following:

$ echo "token: MY_CODEGRAM_TOKEN" > ~/.gramrc
$ gem install gram

##Blog component

To publish a blogpost, type this:

$ gram blog my_blogpost.markdown

The my_blogpost.markdown file should be a regular markdown file with some headers in it, like this:

---
title: My blog post title
tagline: Stranger than fiction
---

# My awesome header
## More markdown goodness, etc.

##Gem component

To bootstrap a new gem, type this:

$ gram gem create my_gem

By default, the new gem will be using Minitest/Spec & Mocha. If you prefer RSpec:

$ gram gem create my_gem --rspec

And if you want to create a Rails extension or anything requiring ActiveRecord, just use the --rails option:

$ gram gem create my_gem --rails

This will add the required dependencies and enable the test suite to use ActiveRecord with in-memory sqlite :)

##SSH component

Put your peers in your .gramrc:

token: 289347287365872whatever
peers:
  john: 192.168.1.43
  jimmy: 192.168.1.99

To paste your clipboard's content to your peer's:

$ gram ssh paste john

You can also broadcast your clipboard's content to all your peers:

$ gram ssh broadcast

Copyright

Copyright (c) 2011 Codegram. See LICENSE for details.