Wednesday, March 07, 2007

Basic Mongrel operation

在Win32上安装Mongrel:
$ gem install win32-service (pick the most recent one)
$ gem install mongrel (pick the win32 pre-built)
$ gem install mongrel_service (Great to run Mongrel as a Windows service)

使用Mongrel运行一个application:
$ cd myrailsapp
$ mongrel_rails start

停止Mongrel运行:
$ mongrel_rails stop
在Windows Command下,用ctrl+c结束。

No comments: