Vagrant
Install Vagrant and setup a virtual machine with Linux
Vagrant is compatible for Debian and Ubuntu.
Browser configuration
To access the application through the browser at localhost:3000
we must forward a port and run the rails server with a binding option:
Port forwarding
Open the Vagrant configuration file:
Find this line:
And change it for this configuration:
Reload your virtual machine:
Running the rails server
In your virtual machine, run the application server, binding to your local ip address:
Last updated