rails server
all
Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails.
More info →Options (4)
-p, --portbooleanRun the web server on a specified port
Example:
rails server {{[-p|--port]}} {{port_number}}-b, --bindingbooleanRun the web server on a specified IP address
Example:
rails server {{[-b|--binding]}} {{ip_address}}-e, --environmentbooleanRun the web server on a specified environment
Example:
rails server {{[-e|--environment]}} {{environment}}-h, --helpbooleanDisplay help
Example:
rails server {{[-h|--help]}}Examples (5)
Run the web server
Run the web server on a specified port
rails server [-p|--port] port_numberRun the web server on a specified IP address
rails server [-b|--binding] ip_addressRun the web server on a specified environment
rails server [-e|--environment] environmentDisplay help
rails server [-h|--help]made by @shridhargupta | data from tldr-pages