diff options
author | Sergey Parizhskiy <parizhskiy@gmail.com> | 2011-11-28 17:33:01 +0200 |
---|---|---|
committer | Sergey Parizhskiy <parizhskiy@gmail.com> | 2011-11-28 17:33:01 +0200 |
commit | 493cf44682c19bd69eb2463d260c3bf29c7a23d7 (patch) | |
tree | c96275cc2ff279ead974289b4edfe922b199da63 /railties/guides/source/command_line.textile | |
parent | df08273d1420ee4879931f508fe2953235c707ef (diff) | |
download | rails-493cf44682c19bd69eb2463d260c3bf29c7a23d7.tar.gz rails-493cf44682c19bd69eb2463d260c3bf29c7a23d7.tar.bz2 rails-493cf44682c19bd69eb2463d260c3bf29c7a23d7.zip |
completed documentation for the rails server command
Diffstat (limited to 'railties/guides/source/command_line.textile')
-rw-r--r-- | railties/guides/source/command_line.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/command_line.textile b/railties/guides/source/command_line.textile index 3f8643eca3..a26a139baf 100644 --- a/railties/guides/source/command_line.textile +++ b/railties/guides/source/command_line.textile @@ -81,6 +81,8 @@ The server can be run on a different port using the +-p+ option. The default dev $ rails server -e production -p 4000 </shell> +The +-b+ option binds Rails to the specified ip, by default it is 0.0.0.0. You can run a server as a daemon by passing a +-d+ option. Use +-h+ or +--help+ option to get a list of all possible options that can be passed to the +rails server+ command. + h4. +rails generate+ The +rails generate+ command uses templates to create a whole lot of things. Running +rails generate+ by itself gives a list of available generators: |