Skip to content

bobpp/icecream-screencaster

Repository files navigation

Icecream Screen-caster

Setup guide

1. Install LiveReload Extension

SEE: https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei

And Avaliable "ファイルのURLアクセスを許可する" on Chrome Extension Administration page (chrome://extensions/)

2. Setup Perl by plenv / Ruby by rbenv

SEE: https://github.com/tokuhirom/plenv

SEE: https://github.com/sstephenson/rbenv

or if you use Homebrew

$ brew install plenv perl-build rbenv ruby-build

3. Build Perl / Ruby

$ rbenv install ...
$ rbenv global ...
$ rbenv rehash

$ plenv install ...
$ plenv global ...
$ plenv rehash

4. Setup Carton / Bundle

$ plenv install-cpanm
$ plenv rehash
$ cpanm Carton

$ gem install bundle
$ rbenv rehash

5. Require Module install by Carton / Bundle

$ cd /path/to/this/repos
$ carton install
$ bundle install --path vendor/bundle

6. Setup Commentators DB

$ cat sql/sqlite.sql | sqlite3 commentators.db

7. Start Guard-LiveReload

$ bundle exec guard

8. Make ScreenCast html

$ carton exec perl screen-caster.pl <TWEET-URL>

Auto reload screen.html