Created
October 2, 2017 10:30
-
-
Save misostack/6f3214af9b29c9cf8cc4d8330a065abd to your computer and use it in GitHub Desktop.
rails 5 - command line - rails server -h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: | |
rails server [puma, thin etc] [options] | |
Options: | |
-p, [--port=port] # Runs Rails on the specified port - defaults to 3000. | |
-b, [--binding=IP] # Binds Rails to the specified IP - defaults to 'localhost' in development and '0.0.0.0' in other environments'. | |
-c, [--config=file] # Uses a custom rackup configuration. | |
# Default: config.ru | |
-d, [--daemon], [--no-daemon] # Runs server as a Daemon. | |
-e, [--environment=name] # Specifies the environment to run this server under (development/test/production). | |
-P, [--pid=PID] # Specifies the PID file. | |
# Default: tmp/pids/server.pid | |
-C, [--dev-caching], [--no-dev-caching] # Specifies whether to perform caching in development. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment