Permalink
Browse files

completed documentation for the rails server command

  • Loading branch information...
HeeL committed Nov 28, 2011
1 parent df08273 commit 493cf44682c19bd69eb2463d260c3bf29c7a23d7
Showing with 2 additions and 0 deletions.
  1. +2 −0 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:

0 comments on commit 493cf44

Please sign in to comment.