1. Install Freeimage plugin for image processing:
About ruby on rails, hackintosh, iphone3g and etc.
Saturday, March 7, 2009
Wednesday, March 4, 2009
Mongrel_rails
To use mongrel_rails in production, you need to create a service to run in your Windows Server.
Navigate to the directory where rails app are located.
Replace (service name) including bracket with your service name .
Here is the command:
Install service:
mongrel_rails service::install -N (service name) -e (environment. e.g. production) -p (port to be used)
Remove the service:
mongrel_rails service::remove -N (service name)
That's all. Then you can configure lightttpd to point to the mongrel web app.
To start the service from command line:
net start (service name)
Subscribe to:
Posts (Atom)