diff options
Diffstat (limited to 'railties/README')
-rw-r--r-- | railties/README | 15 |
1 files changed, 6 insertions, 9 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. |