Giter Site home page Giter Site logo

hcmpl-stream's Introduction

hcmpl ハッカーズチャンプルー用ハッシュタグのツイートを垂れ流す君

実行環境用意

cpanmは入ってますか?

$ cpanm -v

入っていない場合はインストールします。

Downloading the standalone executable

You can also copy the standalone executable to whatever location you'd like.

cd ~/bin
curl -LO http://xrl.us/cpanm
chmod +x cpanm

cartonは入ってますか?

$ carton -v

入っていない場合はインストールします。

$ cpanm Carton

依存モジュールをインストールします。

$ carton install (--deployment

設定ファイルを用意

$ cp config.yml.default config.yml

して、中身を埋めます。

cs_key: 'APIキー'
cs_secret: 'APIシークレットキー'
ac_token: 'アクセストークン'
ac_secret: 'アクセストークンシークレット'
track: '拾いたいハッシュタグ'

サーバを起動します。

$ carton exec plackup -Ilib

ブラウザでport 5000番でアクセスしてみてください(適当に /数値 でアクセス必要)

$ open -a Firefox http://127.0.0.1:5000/123

ちなみに、ツイートをストレージに保存していないので、 サーバ起動時点以降からの投稿が表示されていきます。

スクリーンにちゃんと収まるよう、見やすいように適当に ブラウザの拡大/縮小で調節します。

hcmpl-stream's People

Contributors

masakyst avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.