Saturday, May 03, 2008

How to setup mongrel server on ubuntu

Goto terminal and type
sudo gem install mongrel
cd application_folder
mongrel_rails start -d -p 8000 -a abc.com

First line will install mongrel server, then go inside your application folder.
Third line will start your mongrel server on port 8000. Now you can access your application on http://abc.com:8000/controller_name