mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Add example for rails server port option.
This commit is contained in:
@@ -78,7 +78,7 @@ 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
|
||||
$ rails server -e production -p 4000
|
||||
</shell>
|
||||
|
||||
h4. +rails generate+
|
||||
|
||||
Reference in New Issue
Block a user