Skip to content

chuvayva/vagrant_single_instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Vagrant script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published