Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/midnightsuyama/octopress_deploy_tweet

Octopress - Deploy task with tweet
https://github.com/midnightsuyama/octopress_deploy_tweet

Last synced: about 2 months ago
JSON representation

Octopress - Deploy task with tweet

Awesome Lists containing this project

README

        

octopress_deploy_tweet
======================

Octopress - Deploy task with tweet

## Install

$ cd octopress
$ git clone git://github.com/midnightSuyama/octopress_deploy_tweet.git

### Add to Gemfile

```
gem 'nokogiri'
gem 'twitter'
```

### Add to Rakefile

```
require File.expand_path('../octopress_deploy_tweet/task', __FILE__)
```

### Setup Twitter in `task.rb`

```
twitter = Twitter::REST::Client.new do |config|
config.consumer_key = YOUR_CONSUMER_KEY
config.consumer_secret = YOUR_CONSUMER_SECRET
config.access_token = YOUR_ACCESS_TOKEN
config.access_token_secret = YOUR_ACCESS_TOKEN_SECRET
end
```

## Usage

$ rake deploy_tweet