rails server
Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails. More information: https://guides.rubyonrails.org/command_line.html#bin-rails-server.
- Run the web server:
rails server
- Run the web server on a specified port:
rails server
- Run the web server on a specified IP address:
rails server
- Run the web server on a specified environment:
rails server
- Display help:
rails server
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
