From 4595749e0103d3321eb124c986203e4789d3734d Mon Sep 17 00:00:00 2001 From: zedshaw Date: Sat, 11 Feb 2006 19:35:06 +0000 Subject: Small bug fix for possible images not being served. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@29 19e92222-5c0b-0410-8929-a290d50e31e9 --- README | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'README') diff --git a/README b/README index be4da9c..6a73398 100644 --- a/README +++ b/README @@ -11,26 +11,31 @@ scream without too many portability issues. == Status -The 0.2.2 release of Mongrel features an HTTP core server that is the fastest possible -thing I could get without using something other than Ruby. It features a few bug fixes, -but mostly just a change to the Mongrel::HttpResponse class to make it more feature -complete. The remaining development will be spent getting Mongrel to work with -other frameworks, adding additional needed features, and improving the concurrency -and speed. - -The current release has samples from "why the lucky stiff" for his Camping -framework in the examples directory. Camping is a small micro framework -(http://rubyforge.org/projects/camping) which should work with Mongrel if -you use the subversion source for Camping. - -This is also the first release onto the new Mongrel RubyForge project -page found at http://rubyforge.org/projects/mongrel/ thanks to Tom Copland. -I'll be looking to automate management of this, but feel free to use -rubyforge to post feature requests, bugs, and join the mailing list. - -Finally, it now supports all CGI parameters that don't cause a performance hit, -and it has a Mongrel::DirHandler which can serve files out of a directory and -do (optional) directory listings. +The 0.3 release is the first official release to start supporting Ruby on Rails +and to have a more complete DirHandler for serving directories of files. This release +is actually closer to a full functioning web server than the previous releases. + +The Rails support is pretty rough right now, but check out the bin/mongrel_rails file, +which should be installed into your PATH if you use a gem. You should be able to +do the following to run your Rails applications: + + > cd myrailsapp + > mongrel_rails 0.0.0.0 3000 + +And then hit http://localhost:3000/ to see your app. One thing is that if you have +a public/index.html file then you'll get that served instead of your Rails application. + +People with the daemons gem installed will see that mongrel_rails will go into the +background. You can kill it with: + + > kill -TERM `cat log/mongrel-3000.pid` + +Where "3000" is whatever port you told it to listen on when you ran it. + +The file serving is still a little rough and the redirects might not work well, but +try it out and tell me about any weird errors. File uploads will definitely have some +problems. + == Install @@ -43,6 +48,7 @@ who can build it for you. Finally, the source includes a setup.rb for those who hate RubyGems. + == Usage The examples/simpletest.rb file has the following code as the simplest @@ -104,12 +110,8 @@ With the core of Mongrel completed I'm now turning to the next set of features to make Mongrel useful for hosting web applications in a heavily utilized production environment. Right now I'm looking at: -* Fast static file handling with directory listings. -* More testing on more platforms. * An idea I've had for an insane caching handler which could speed up quite a few deployments. -* General little things most web servers need. -* A nice management system or interface for controlling mongrel servers. Overall though the goal of Mongrel is to be just enough HTTP to serve a Ruby web application that sits behind a more complete web server. Everything @@ -117,7 +119,7 @@ in the next will focus on actually hosting the major web frameworks for Ruby: * Camping -- because it's already done (thanks Why). * Ruby on Rails -- that's where my bread is buttered right now. -* Nitro -- George is a nice guy, and Nitro is thread safe. Might be fun. +* Nitro -- Nitro folks have already hooked this up and started using it. Nice. * ????? -- Others people might be interested in. == Contact -- cgit v1.2.3-24-ge0c7