Sha256: ce234a23f8486b852bde946caca010ed02202b942c10a1f0e05cdbd012dc36bd

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

# Github Archive

A command line utility for concurrent processing and management of github event archives.

## Dependencies

1. MYSQL (For storing replica data)
2. REDIS (For processing queue persistence)

## Installation

On a OSX:

    $ brew install mysql (Follow instructions for launching)
    $ brew install redis (Follow instructions for launching)

Get the gem:

    $ gem install github-archive

## Setup Redis for Resque

    $ github-archive setup_mysql --database=DATABASE --server=SERVER --username=USERNAME
    $ github-archive setup_redis --port=PORT --server=SERVER

## Launch workers for processing github data

    $ github-archive process_archives --proc-count=PROC_COUNT

## Get Stats

    $ github-archive gh_repo_stats --after=AFTER --before=BEFORE --event=EVENT -n=N

Example:

    $ github-archive gh_repo_stats --event=WatchEvent --after=2012-12-10T04:05:06+07:00 --before=2012-12-11T04:05:06+07:00 -n=20

##

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-archive-0.0.1 README.md