How to edit the /etc/hosts file

Public, Command Line, Online Resources


Created: Jul 01, 2017     Updated: May 25, 2018

How to edit the / etc / hosts file:

For example, adding:    operationcode-psql 

to your /etc/hosts file enables you to run Rails app that uses Docker, without Docker.

As long as PostgreSQL is up and running, you can use all of the normal rake and rails commands, as you're used to.