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:
parent
d91ee6cba4
commit
07bf608644
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue