Browse files

document server options

  • Loading branch information...
1 parent d010686 commit f73d1a6236bb7f93c7936d99234db61556d93d3f @vijaydev vijaydev committed with fxn Jun 11, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 railties/guides/source/command_line.textile
6 railties/guides/source/command_line.textile
@@ -75,6 +75,12 @@ With just three commands we whipped up a Rails server listening on port 3000. Go
You can also use the alias "s" to start the server: <tt>rails s</tt>.
+The server can be run on a different port using the +-p+ option. The default development environment can be changed using +-e+.
+$ rails server -e production
h4. +rails generate+
The +rails generate+ command uses templates to create a whole lot of things. You can always find out what's available by running +rails generate+ by itself. Let's do that:

0 comments on commit f73d1a6

Please sign in to comment.