POW-Knock Out Rails & Rack Apps Like a Superhero.
Pow is a zero-config Rack server for Mac OS X. Have it serving your apps locally in under a minute.
Installs faster than a speeding SSD.
To install or upgrade Pow, open a terminal and run this command:
$ curl get.pow.cx | sh
To set up a Rack app, just symlink it into ~/.pow
:
$ cd ~/.pow
$ ln -s /path/to/myapp
That’s it! Your app will be up and running at http://myapp.dev/
See the user’s manual for more information.
ln -s
是 linux 系统通用的,你可以理解为快捷方式,只是一个映射。
Pow example
$ mkdir hexo
$ hexo init
$ npm install
$ hexo generate
$ cd ~/.pow
$ ln -s /Users/apple/hexo
$ hexo server
$ open http://hexo.dev