Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/midnightsuyama/octopress_deploy_tweet
- Owner: midnightSuyama
- Created: 2014-02-17T16:00:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-18T17:07:16.000Z (almost 11 years ago)
- Last Synced: 2023-04-03T23:52:35.228Z (almost 2 years ago)
- Language: Ruby
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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