Go to your browser and open http://localhost:3000, you will see a basic Rails app running. You can also use the alias "s" to start the server: bin/rails s . The server can be run on a different port using the -p option. The default development environment can be changed using -e .
It should be:
rails server --daemon
# to kill the server
kill `cat tmp/pids/server.pid`
# to tail development logs for debugging
tail -f log/development.log
it's worth trying the following command
$ rails s -d
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With