LoginSignup
7
7

More than 5 years have passed since last update.

MacでApp:revealupを動かしてみる

Last updated at Posted at 2014-09-16

追記: コメントでyusukebeさんに指摘いただき、carton使わないよう修正しました><

まずこれをみてかっけーと思った

一瞬でクールなスライドがつくれる「App::revealup」をリリースしました - ゆーすけべー日記 http://yusuke.be/post/88914879289

perlの環境構築よくわかんないけど、かっこいいスライド作りたいのでしらべてみた

perlのインストール

brew install plenv
plenv install 5.18.2
plenv install-cpanm
plenv global 5.18.2
plenv rehash && rehash

環境変数を.zshrcに設定

# perl
export PERL_LOCAL_LIB_ROOT="/Users/`whoami`/perl5:$PERL_LOCAL_LIB_ROOT";
export PERL_MB_OPT="--install_base "/Users/`whoami`/perl5"";
export PERL_MM_OPT="INSTALL_BASE=/Users/`whoami`/perl5";
export PERL5LIB="/Users/`whoami`/perl5/lib/perl5:$PERL5LIB";
export PATH="/Users/`whoami`/perl5/bin:$PATH";

cpanmでrevealupをインストール
はじめは、carton使ってたけど、使わない方針で!

cpanm App::revealup

あとは適宜、表示用のslide.mdを用意

slide.md
### title
desc

---
### title2
desc

----

最後に、コマンドたたいてブラウザで見れるかチェック

revealup server ./slide.md --port 5000

ブラウザで、http://localhost:5000 叩いて見れたらOK

画面サンプル

7
7
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7