1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 14:55:51 +02:00

rails-server: add page (#15590)

* rails-server: add page

* adding newline

* Update pages/common/rails-server.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* updating description

* Update pages/common/rails-server.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Nelson Figueroa 2025-01-25 21:34:13 -08:00 committed by GitHub
parent f4c5a35dea
commit 7fd944e3a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
# 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 --port {{port_number}}`
- Run the web server on a specified IP address:
`rails server --binding {{ip_address}}`
- Run the web server on a specified environment:
`rails server --environment {{environment}}`
- Display help:
`rails server --help`