diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-27 13:33:54 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-27 13:33:54 +0000 |
commit | 065cb2a08d6b0fe7683f98b69af1cee2ce3e69cd (patch) | |
tree | 905ce9d5a107214828eb437506110a1edd06bc22 /railties/README | |
parent | 5cd38ca25d1742f2f1a4fa40145fe45c6415e17c (diff) | |
download | rails-065cb2a08d6b0fe7683f98b69af1cee2ce3e69cd.tar.gz rails-065cb2a08d6b0fe7683f98b69af1cee2ce3e69cd.tar.bz2 rails-065cb2a08d6b0fe7683f98b69af1cee2ce3e69cd.zip |
Made ready for better release automation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/README')
-rw-r--r-- | railties/README | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/railties/README b/railties/README index ca5f3737fd..4f8bee3c0e 100644 --- a/railties/README +++ b/railties/README @@ -67,30 +67,30 @@ 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" ) - ) + 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 @@ -139,7 +139,8 @@ Finally, when you're ready to resume execution, you press CTRL-D You can interact with the domain model by starting the console through script/console. Here you'll have all parts of the application configured, just like it is when the application is running. You can inspect domain models, change values, and save to the -database. Start the script without arguments to see the options. +database. Start the script without arguments will launch it in the development environment. +Passing an argument will specify a different environment, like <tt>console production</tt>. == Description of contents |