Last active
August 29, 2015 14:03
-
-
Save novogrammer/3d054abe0fb853a295a8 to your computer and use it in GitHub Desktop.
サーバーを立てるまでもないけど、絶対パスのhtmlを確認したい時のスクリプト。実行権限をつけて~/binとかに置く。実行時のフォルダをルートにする。要Rubyとsinatra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ruby -rsinatra -e 'set :public_folder, "."' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment