Forrest logo
back to context overview

rails

List of commands for rails:

  • rails:tldr:04dd2 rails: Start local server for current project on a specified port.
    $ rails server -p "${port}"
    try on your machine
    explain this command
  • rails:tldr:32789 rails: Create a new rails project.
    $ rails new "${project_name}"
    try on your machine
    explain this command
  • rails:tldr:55c9d rails: Start local server for current project on port 3000.
    $ rails server
    try on your machine
    explain this command
  • rails:tldr:bf940 rails: Open console to interact with application from command-line.
    $ rails console
    try on your machine
    explain this command
  • rails:tldr:f31b4 rails: Check current version of rails.
    $ rails --version
    try on your machine
    explain this command
back to context overview