1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

document server options

This commit is contained in:
Vijay Dev 2011-06-12 02:16:08 +05:30
parent d91ee6cba4
commit 07bf608644

View file

@ -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+.
<shell>
$ rails server -e production
</shell>
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: