Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 493 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 493 Bytes

Vagrant VM of a Rails application with a single instance

Using ansible provisioning.

Prepare for installing

Add ssh key to ssh-agent. It's used for code fetching from the github

ssh-add -K <path to the key> # on Mac OS

Single command installing

vagrant up --provision

There is no autorunning for now. Therefore go to the vm and run server

vagrant ssh
cd /var/www/<project>
bundle exec rails s -b 0.0.0.0

open localhost:3000 in host browser