:note

Powをためす

遅ればせながら Pow を試したのでメモ

Pow: Zero-configuration Rack server for Mac OS X

Powをためす /images/2011/07/pow.png

インストールは curl で、インストール後、~/.pow へアプリへのシンボリックリンクを張るだけ

milligramme@ ~♪ curl get.pow.cx | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6813  100  6813    0     0   4827      0  0:00:01  0:00:01 --:--:-- 10291
*** Installing Pow 0.3.1...
*** Installing local configuration files...
/Users/milligramme/Library/LaunchAgents/cx.pow.powd.plist
*** Installing system configuration files as root...
Password:
/Library/LaunchDaemons/cx.pow.firewall.plist
/etc/resolver/dev
*** Starting the Pow server...
*** Performing self-test...
*** Reloading system network configuration...
*** Installed

For troubleshooting instructions, please see the Pow wiki:
https://github.com/37signals/pow/wiki/Troubleshooting

To uninstall Pow, `curl get.pow.cx/uninstall.sh | sh`
milligramme@ ~♪ cd .pow

milligramme@ ~/.pow♪ ln -s ~/Projects/Tatami

milligramme@ ~/.pow♪ ls -al
total 8
drwxr-xr-x  3 milligramme  staff  102  7 22 09:46 .
drwxr-xr-x  5 milligramme  staff  170  7 22 09:36 ..
lrwxr-xr-x  1 milligramme  staff   29  7 22 09:46 Tatami -> /Users/milligramme/Projects/Tatami
milligramme@ ~/.pow♪ open http://Tatami.dev

http://Tatami.dev を開く

Powをためす /images/2011/07/tatamidev.png

シンボリックリンク作成やログ表示、Pow再起動などをしてくれるコマンドをいれる

powder command

milligramme@ ~/.pow♪ gem install powder

Fetching: powder-0.1.6.gem (100%)
Successfully installed powder-0.1.6
1 gem installed
Installing ri documentation for powder-0.1.6...
Installing RDoc documentation for powder-0.1.6...
milligramme@ ~/.pow♪ cd ~/Projects/Zakuro/

milligramme@ ~/Projects/Zakuro master♪ powder
Your application is now available at http://Zakuro.dev/

milligramme@ ~/Projects/Zakuro master♪ powder list
Tatami
Zakuro

便利だ。 powderの他にも気になるものがあるので今度見てみたい => Pow User's Manual :: Third-Party Tools

参考にした

 
comments powered by Disqus
back to top