diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-28 22:01:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-28 22:01:11 +0000 |
commit | 7376da4a2cc10881d9fdc27d4b3da0af8b3ab45c (patch) | |
tree | 4fd1800b9a58634db1a7095a465537693b3355c7 /railties/README | |
parent | 5ba5eb82467bcf7d5e42f5ca681b358e322cfe70 (diff) | |
download | rails-7376da4a2cc10881d9fdc27d4b3da0af8b3ab45c.tar.gz rails-7376da4a2cc10881d9fdc27d4b3da0af8b3ab45c.tar.bz2 rails-7376da4a2cc10881d9fdc27d4b3da0af8b3ab45c.zip |
Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/README')
-rw-r--r-- | railties/README | 42 |
1 files changed, 2 insertions, 40 deletions
diff --git a/railties/README b/railties/README index 7860e2bff3..482075cc40 100644 --- a/railties/README +++ b/railties/README @@ -25,21 +25,10 @@ Rails. You can read more about Action Pack in link:files/vendor/rails/actionpack/README.html. -== Requirements - -* Database and driver (MySQL, PostgreSQL, or SQLite) -* Rake[http://rake.rubyforge.org] for running tests and the generating documentation - -== Optionals - -* Apache 1.3.x or 2.x or lighttpd 1.3.11+ (or any FastCGI-capable webserver with a - mod_rewrite-like module) -* FastCGI (or mod_ruby) for better performance on Apache - == Getting started -1. Run the WEBrick servlet: <tt>ruby script/server</tt> - (run with --help for options) +1. Run the WEBrick servlet: <tt>ruby script/server</tt> (run with --help for options) + ...or if you have lighttpd installed: <tt>ruby script/lighttpd</tt> (it's faster) 2. Go to http://localhost:3000/ and get "Congratulations, you've put Ruby on Rails!" 3. Follow the guidelines on the "Congratulations, you've put Ruby on Rails!" screen @@ -65,33 +54,6 @@ through CGI, so no Apache restart is necessary for changes. All other requests goes through FCGI (or mod_ruby) that requires restart to show changes. -== Example for lighttpd conf (with FastCGI) - - server.port = 8080 - server.bind = "127.0.0.1" - # server.event-handler = "freebsd-kqueue" # needed on OS X - - server.modules = ( "mod_rewrite", "mod_fastcgi" ) - - url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) - server.error-handler-404 = "/dispatch.fcgi" - - server.document-root = "/path/application/public" - server.errorlog = "/path/application/log/server.log" - - fastcgi.server = ( ".fcgi" => - ( "localhost" => - ( - "min-procs" => 1, - "max-procs" => 5, - "socket" => "/tmp/application.fcgi.socket", - "bin-path" => "/path/application/public/dispatch.fcgi", - "bin-environment" => ( "RAILS_ENV" => "development" ) - ) - ) - ) - - == Debugging Rails Have "tail -f" commands running on both the server.log, production.log, and |