-
Download Vagrant
-
Download Virtualbox
-
To set up your Vagrant development environment, navigate to your project's root directory and execute the following in the terminal:
vagrant up
- To connect to your development environment, execute
vagrant ssh
- Navigate to the application directory and start the rails server
cd /vagrant
bundle exec rails server
Go to: http://0.0.0.0:3001/
- To run tests and tasks, create another tab, start vagrant ssh and run:
bundle exec rake