diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-06-23 17:35:42 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-06-23 17:35:42 +0000 |
commit | 3ae2bf09874294e018b23e89e1ce8278e950bf98 (patch) | |
tree | 8984a0c52efabbb9d98ab091df4c8124a2e75f32 /railties | |
parent | b0391d133af89b14f3318a448dfff27f41e572f2 (diff) | |
download | rails-3ae2bf09874294e018b23e89e1ce8278e950bf98.tar.gz rails-3ae2bf09874294e018b23e89e1ce8278e950bf98.tar.bz2 rails-3ae2bf09874294e018b23e89e1ce8278e950bf98.zip |
Docfixes (closes #7348, #7778, #8669)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/README | 15 | ||||
-rw-r--r-- | railties/doc/README_FOR_APP | 2 | ||||
-rw-r--r-- | railties/lib/tasks/documentation.rake | 2 |
3 files changed, 8 insertions, 11 deletions
diff --git a/railties/README b/railties/README index b0e535222e..57d316e927 100644 --- a/railties/README +++ b/railties/README @@ -25,11 +25,11 @@ Rails. You can read more about Action Pack in link:files/vendor/rails/actionpack/README.html. -== Getting started +== Getting Started -1. At the command prompt, start a new rails application using the rails command +1. At the command prompt, start a new Rails application using the <tt>rails</tt> command and your application name. Ex: rails myapp - (If you've downloaded rails in a complete tgz or zip, this step is already done) + (If you've downloaded Rails in a complete tgz or zip, this step is already done) 2. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options) 3. Go to http://localhost:3000/ and get "Welcome aboard: You’re riding the Rails!" 4. Follow the guidelines to start developing your application @@ -38,11 +38,11 @@ link:files/vendor/rails/actionpack/README.html. == Web Servers By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise -Rails will use the WEBrick, the webserver that ships with Ruby. When you run script/server, +Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server, Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures that you can always get up and running quickly. -Mongrel is a Ruby-based webserver with a C-component (which requires compilation) that is +Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is suitable for development and deployment of Rails applications. If you have Ruby Gems installed, getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>. More info at: http://mongrel.rubyforge.org @@ -111,11 +111,8 @@ Passing an argument will specify a different environment, like <tt>script/consol To reload your controllers and models after launching the console run <tt>reload!</tt> -To reload your controllers and models after launching the console run <tt>reload!</tt> - - -== Description of contents +== Description of Contents app Holds all the code that's specific to this particular application. diff --git a/railties/doc/README_FOR_APP b/railties/doc/README_FOR_APP index ac6c149122..82c7eeba28 100644 --- a/railties/doc/README_FOR_APP +++ b/railties/doc/README_FOR_APP @@ -1,2 +1,2 @@ Use this README file to introduce your application and point to useful places in the API for learning more. -Run "rake appdoc" to generate API documentation for your models and controllers.
\ No newline at end of file +Run "rake doc:app" to generate API documentation for your models and controllers.
\ No newline at end of file diff --git a/railties/lib/tasks/documentation.rake b/railties/lib/tasks/documentation.rake index 35db0239fe..c3f1d310a3 100644 --- a/railties/lib/tasks/documentation.rake +++ b/railties/lib/tasks/documentation.rake @@ -46,7 +46,7 @@ namespace :doc do plugins = FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) } - desc "Generate documation for all installed plugins" + desc "Generate documentation for all installed plugins" task :plugins => plugins.collect { |plugin| "doc:plugins:#{plugin}" } desc "Remove plugin documentation" |